To send Chat Invitation, to GTalk using Google App Engine(Python)? [closed]
How can i send Chat invitation over GTalk using Google App Engine(Python), i was searching for code in documentation of GAE, but i didnt get it. As i am new to Python, please post me the code too...
http://code.google.com/appengine/docs/python/xmpp/overview.html
from google.appengine.api import xmpp
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
class FooHandler(webapp.RequestHandler):
def get(self):
xmpp.send_invite('example@gmail.com')
application = webapp.WSGIApplication([('.*', FooHandler)], debug=True)
def main():
run_wsgi_app(application)
if __name__ == "__main__":
main()
精彩评论