[tor-bugs] #9003 [Stem]: Twitter example uses deprecated 1.0 API

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jul 12 15:28:29 UTC 2013

#9003: Twitter example uses deprecated 1.0 API
 Reporter:  ovnicraft  |          Owner:  atagar           
     Type:  defect     |         Status:  needs_information
 Priority:  minor      |      Milestone:                   
Component:  Stem       |        Version:                   
 Keywords:  website    |         Parent:                   
   Points:             |   Actualpoints:                   
Changes (by atagar):

  * status:  needs_review => needs_information


 Thanks, a couple questions...

 * Mind a link to the instructions for consumer_key, consumer_secret, and
 access tokens? I'm not personally a twitter user.

 * Are you sure this works? In particular you have...

 auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
 auth.set_access_token(access_token, access_token_secret)

 api = tweepy.API(auth)

 ... but tweepy is undefined. Does this mean we can't effectively provide a
 tutorial using urllib any longer?

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9003#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the tor-bugs mailing list