I am using twitter Api to send message from my application to Twitter
profile page after authenticate the user in python.It is giving the
error like

NotImplementedError: Only tempfile.TemporaryFile is available for use.


My code is like
<code >

class MainHandler(webapp.RequestHandler):
    def get(self):
        api = twitter.Api(username='twitteruser',
password='***********')
        status = api.PostUpdate('I love python-twitter!')
        self.response.out.write("tweet posted %s" % status)


def main():
  application = webapp.WSGIApplication([('/Tweetmess',
MainHandler)],
                                       debug=True)
  wsgiref.handlers.CGIHandler().run(application)


if __name__ == '__main__':
  main()

</code>

Can any body there to help me in  fixing this error?

Thanks and Regards.

Py

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to