0
我需要在python中獲取用戶整個twitter時間線。我使用下面的代碼與所有的OAuth鍵值:在python中獲取用戶twitter時間線
import twitter
api = twitter.api(consumer_key='',
consumer_secret='', access_token_key='', access_token_secret='')
statuses = api.GetUserTimeline(username)
print [s.text for s in statuses]
但是,它返回[]爲每個帳戶我嘗試
我不知道什麼即時做錯了。這是我用Python嘰嘰喳喳討論的第一個問題。
BTW它返回一個'類型錯誤: '模塊' 對象不callable' –