michkaravolos / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

HTTP error 401 unauthorized python twitter #560

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The below code does not work :

import android, twitter

msg = "Test twittt from droid"
droid = android.Android()
api = twitter.Api("username", "password")
api.PostUpdate(msg)
droid.makeToast(mdg)

Needs oauth on 
http://android-scripting.googlecode.com/hg/python-build/python-libs/python-twitt
er/doc/twitter.html 

Original issue reported on code.google.com by hemanth...@gmail.com on 28 Aug 2011 at 8:41

GoogleCodeExporter commented 9 years ago
Shouldn't this be a Py4A issue? http://code.google.com/p/python-for-android/
Looks like the python-twitter version needs to be updated, since oauth support 
has been added: http://code.google.com/p/python-twitter/

Original comment by barbaraj...@gmail.com on 28 Aug 2011 at 2:58

GoogleCodeExporter commented 9 years ago
mdg?

Original comment by rvmartin...@gmail.com on 28 Aug 2011 at 4:44

GoogleCodeExporter commented 9 years ago
@barbaraj will post the issue there also.
@rvmartin msg, that a typo, but that is not that issue.

Original comment by hemanth...@gmail.com on 28 Aug 2011 at 5:35

GoogleCodeExporter commented 9 years ago
This has been moved over to the Python project.

Original comment by rjmatthews62 on 31 Aug 2011 at 3:14