3 ms·
are you intentionally neglecting the additional steps to make this work, or did you not test your assumptions against the requests that the app actually sends?
by dpeck 14y ago
are you intentionally neglecting the additional steps to make this work, or did you not test your assumptions against the requests that the app actually sends? ;)
- armooo 14y agoI tested this on the with the twitter api. This key was already leaked in 2010 at https://github.com/mitsuhiko/logbook/blob/master/twitter-secrets.txt https://github.com/mitsuhiko/logbook/blob/master/twitter-sec.... So I will just post it here. https://twitter.com/armooo/status/237729837157060609 https://twitter.com/armooo/status/237729837157060609 take a look at the name of the client. >>> key = 'Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys' >>> oauth_consumer_key = '3nVuSoBZnx6U4vzUxf5w' >>> import tweepy >>> auth = tweepy.OAuthHandler(oauth_consumer_key, key) >>> auth.get_xauth_access_token('armooo', <password>) <tweepy.oauth.OAuthToken object at 0x110985810> >>> api = tweepy.API(auth) >>> api.update_status('This is an update %s:%s' % (oauth_consumer_key, key)) <tweepy.models.Status object at 0x110985c90>
- dpeck 14y agoah, yes, you're right, was thinking of another api endpoint.