Skip to content

Commit

Permalink
Added import statement for OAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
REMitchell committed Oct 29, 2015
1 parent 49b8515 commit f9b8c9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapter4/3-getTwitterStatus.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from twitter import Twitter
from twitter import Twitter, OAuth

#Make sure to add the access tokens and consumer keys for your application
t = Twitter(auth=OAuth("Access Token","Access Token Secret","Consumer Key","Consumer Secret"))
pythonStatuses = t.statuses.user_timeline(screen_name="montypython", count=5)
print(pythonStatuses)
print(pythonStatuses)

0 comments on commit f9b8c9f

Please sign in to comment.