I am really new to Python as well as Twitter API’s. I am trying to retrieve tweets related to a particular hashtag. I am not sure if i can directly print them. Following script doesnt work. It is updating the status but fails to print the hashtagged tweets. Could anyone tell me how exactly can i retrieve the tweets?
from twitter import *
t = Twitter(auth=OAuth(Key1,Key2,key1,key2))
t.statuses.update(status=“Creating my first twitter app.”)
print(t.search.tweets(q="#puppylove", count=3, until=‘2014-02-22’))