Build a web client integrated facebook chat? - python

I'm using Google App Engine and I'm interested in creating a web site integrated facebook chat.
I read Integrating with Facebook Chat and with what I read, I think their example code only works for desktop applications. I tried some applications integrated facebook chat such as pidgin, meebo... There is a web client named tokbox but I think their chat application build on flash.
Does somebody know how to implement facebook chat to a web client by python ?
Thank you.

Well, Google App Engine has a XMPP feature, it could probably be what you need.

Related

implementing oauth2 for google calendar api with django

Can anybody direct me to a complete example of implementing oauth2 with django?
From the older posts, I found some bits and pieces, or work-arounds, but I am not yet experienced enough to put the pieces together.
I want to integrate into an web app creating, updating, deleting events.
Followed the quickstart in the documentation, it works fine.
The quickstart is made for a desktop app, I need to use it in a web app. Here I got stuck, on authorizing the app and on receiving the approval of the resource owners to access their calendars.
Thank you for your support.

Push notifications for mobile application

I am a beginner with mobile app development. I need to build a push notification for our existing mobile app.
The current mobile app is built with HTML, backbone.js and jQuery for both Android and iOS. The backend is in Python.
I found that there are applications like firebase communication messages, parser etc for the transport layer.
I would like to know if I can use FCM with Python as backend.
Also as I do not use the native mobile app, I also like to know if I can achieve push notifications using FCM in my app.
I would like to know if I can use FCM with Python as backend.
You may want to check Python documentation which discussed regarding the use of pyfcm 1.2.2. Furthermore, this related SO post might also help.
Also as I do not use the native mobile app , I also like to know if I can achieve push notifications using FCM in my app.
Actually, Google Cloud Messaging (GCM) is used to implement push notifications for mobile devices and as mentioned, Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features! Based from that statement, it's should be clear that it is possible to achieve push notifications using FCM.
I suggest that you please check Firebase Notifications and Firebase - FAQ for more detailed information on the things that you can do with Firebase.

Running XMPP on Amazon for a chat app

I'm building an Android IM chat app for fun. I can develop the Android stuff well but i'm not so good with the networking side so I am looking at using XMPP on AWS servers to run the actual IM side. I've looked at OpenFire and ejabberd which i could use. Does anyone have any experience with them or know a better one? I'm mostly looking for sending direct IM between friends and group IM with friends.
Try to explore more about Amazon SQS( Simple Queuing Service) . It might come handy for your requirement.
As an employee of ProcessOne, the makers of ejabberd, I can tell you we run a lot of services over AWS, including mobile chat apps. We have industrialized our procedures.

How to run my web2py application from facebook?

I have created one web2py application, now i have to deploy this application to facebook so the user can login to facebook and can access this application from there, is there any way to achieve this?
Please help me out to resolve this problem.
Regards,
Piks
You have to start understanding how Facebook apps works, after that you will be able to develop web apps using any framework and "deploy" that to be used as a facebook app.
Start here: https://developers.facebook.com/

Send emails from Google App Engine

I have a web server with Django, hosted with Apache server. I would like to configure Google App Engine for the email server. My web server should be able to use Google App Engine, when it makes any email send using EmailMessage or sendmail infrastructure of Google Mail API.
I learnt that by using Remote API, I can access Google App Engine server from my main web server. However, I could not access the Mail APIs supported by Google App Engine.
Is the Remote API strictly for Datastore? If so, can only the DB read from it and no other API calls can?
The example code for the remote APi gives you an interactive console from which you can access any of the modules in your application. I see no requirement that they be only datastore operations.
You may want to use a third-party SMTP relaying service. Here's a list.
Most of them have a simple API that lets you forward your email to their service. That way, you're not bound by the AppEngine's limits. The more reputable ones also take care of headers necessary so your app isn't tagged as a spam sender (which hopefully, it isn't :-)

Categories