我試圖在時間範圍爲11/15/15 - 11/30/15的tweets中添加「Deacs」和「basketball」字樣。searchTwitter()R函數無法按預期方式工作
由於以下的Twitter網站上搜索發現,這種鳴叫肯定存在: https://twitter.com/search?src=typd&q=Deacs%20basketball%20since%3A2015-11-15%20until%3A2015-11-30
我已經建立了我的環境Twitter的包,並已成功地拉到1000+鳴叫,在過去的一個電話。然而,當我運行下面的代碼:
Dtweets1 <- searchTwitter('deacs+basketball', n = 10, since = '2015-11-15', until = '2015-11-30')
我碰到下面的錯誤,以及0列表:
Warning message:
In doRppAPICall("search/tweets", n, params = params, retryOnRateLimit = retryOnRateLimit, : 10 tweets were requested but the API can only return 0
是否有這個錯誤彈出一個特別的原因?
'?searchTwitter'說'使用'+'來區分查詢詞。'並給出一個例子'searchTwitter'('world cup + brazil',resultType =「popular」,n = 15)。我不認爲這是問題。 – Laterow
我在GET搜索/推文的文檔中發現了這一點:「請記住,搜索索引有7天的限制,換句話說,在超過一週的日期內不會發現任何推文。」 –