位置过滤器在tweepy流中

时间:2017-08-09 06:56:03

标签: python stream tweepy

我使用tweepy流从位置获取推文" CHENNAI" 但我获得406 error,可以一个解决它

Chennai= [80.237617, 13.067439 ,70.21565,7.01023]
auth = OAuthHandler(ckey, csecret)
auth.set_access_token(atoken, asecret)
twitterStream = Stream(auth, listener())
twitterStream.filter(locations = Chennai)

1 个答案:

答案 0 :(得分:0)

尝试以下操作 GEOBOX_GERMANY = [5.0770049095,47.2982950435,15.0403900146,54.9039819757]