1

WOEID 23424911(ネパール)のトレンド トピックを生成しようとしています。次のメッセージが生成されます

TwitterError: [{u'message': u'Sorry, that page does not exist.', u'code': 34}]

使用したコード:

import twitter
consumer_key=.....
consumer_secret=......
access_token=.......
access_token_secret=.....
api = twitter.Api(consumer_key, consumer_secret,access_token, access_token_secret)
print api.GetTrendsWoeid(woeid=23424911, exclude=None)

ただし、興味深いことにWOEID 23424848(インド)、トピックはトピックが生成されます。

WOEID は以下から抽出できます。

https://query.yahooapis.com/v1/public/yql?q=select+*+from+geo.places+where+text+=+%27Nepal%27

このエラーが発生する理由は何ですか?

4

0 に答える 0