I am working on a course term project which involves getting instant tweets and I work with Google App Engine.
Seems tweepy works fine in GAE, so I choose it. But when I use the steaming API function as follows, the program just stuck there and cannot get a single tweets until the time is out.
*************************************************************************************************************
streaming_api = tweepy.streaming.Stream( auth, CustomStreamListener(), timeout = 60)
search_tweet = streaming_api.filter(follow = None, track = ['I'])
*************************************************************************************************************
When I use searching API: search_tweet = api.search(q = keyword, result_type = "recent", count = 100, lang = 'en')
it works fine, but it's not my intended thing.
I cannot figure out what is happening. Does anyone have an idea about that? Thanks so much!