https://github.com/sixohsix/twitter
からインストールしたpythonのtwitterAPIを使用しています.
python
1from twitter import * 2datetime, twt, rts, [], [], [] 3max_id = 123456789 4count = 200 5timeline = t.statuses.user_timeline((user_id = user_id, count=count, max_id=max_id, exclude_replies = True, include_rts = True)) 6for tweet in timeline: 7 twt.append(tweet['text']) 8 datetime.append(tweet['created_at']) 9 rts.append(tweet['retweeted'])
ツイートのリツイートフラグが全てfalseで帰ってきます.つまりrtsの中身が全てFalseです.
(テキストやツイート日時などは正常に取得できる)
原因がわかる方はいらっしゃいますでしょうか.
2010年の記事ですが当時はこのバグが発生していたようです.
参考url(https://groups.google.com/forum/#!topic/twitter-development-talk/Iu4P0uaJK9c)
回答1件
あなたの回答
tips
プレビュー