私は twitter クライアントで作業しており、tweepy を使用していますが、それを使用すると、user_timeline でエンティティを取得できません。エンティティを取得するにはどうすればよいですか? AppEngine ライブラリの Tweepy を更新した人はいますか?
2 に答える
2
tweepy wikiから、
# Iterate through the first 200 statuses in the friends timeline
for status in tweepy.Cursor(api.friends_timeline).items(200):
# Process the status here
process_status(status)
于 2011-11-15T15:06:37.680 に答える
1
以下を提供する必要がありますinclude_entities = True
。
api.user_timeline(include_entities = True).
これがデフォルトで true に設定されていない理由は、エンティティが後で Twitter API に追加され、結果として後で Tweepy に追加されたためです。
于 2012-12-15T23:57:21.327 に答える