Skip to content

Commit f9b8c9f

Browse files
committed
Added import statement for OAuth
1 parent 49b8515 commit f9b8c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter4/3-getTwitterStatus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from twitter import Twitter
1+
from twitter import Twitter, OAuth
22

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

0 commit comments

Comments
 (0)