justpeople22856 / python-for-android

Automatically exported from code.google.com/p/python-for-android
Apache License 2.0
0 stars 0 forks source link

HTTP error 401 unauthorized python twitter #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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(msg)

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 5:36

GoogleCodeExporter commented 8 years ago

Original comment by rjmatthews62 on 3 Apr 2012 at 2:23

GoogleCodeExporter commented 8 years ago
Twitter no longer allows API access via username and password, you are required 
to use OAuth.

Original comment by jordanza...@gmail.com on 13 Mar 2013 at 4:42