db1
db1

Reputation: 3169

Search results in Twitter API dont match Twitter website search results

I am using REST API to extract twitter search results in Hindi and Hebrew.

Search phrase in Hindi - "मुझे सपना आया" OR "मैंने सपना देखा की" Twitter search results return about 100 results for this phrase - https://twitter.com/search?src=typd&q=%22%E0%A4%AE%E0%A5%88%E0%A4%82%E0%A4%A8%E0%A5%87%20%E0%A4%B8%E0%A4%AA%E0%A4%A8%E0%A4%BE%20%E0%A4%A6%E0%A5%87%E0%A4%96%E0%A4%BE%20%E0%A4%95%E0%A5%80%22%20OR%20%22%E0%A4%AE%E0%A5%81%E0%A4%9D%E0%A5%87%20%E0%A4%B8%E0%A4%AA%E0%A4%A8%E0%A4%BE%20%E0%A4%86%E0%A4%AF%E0%A4%BE%22

However Twitter explorer console API (https://dev.twitter.com/console) returns only 1 result.

Same thing happens for the Hebrew phrase as well. Website returns correct results. API only returns 1 result Search phrase in Hebrew - "אתמול בלילה חלמתי"

Please Help!!

Thanks, DB

Upvotes: 1

Views: 207

Answers (2)

db1
db1

Reputation: 3169

Found out that for Twitter search api results only go back 1 week for exact phrase matches versus keyword matches. So changed my search criteria from exact phrases to separate words to solve the problem. Here are the links from Twitter discussions which I found related to this topic. https://dev.twitter.com/discussions/20596 https://dev.twitter.com/discussions/23726

Upvotes: 1

Tim van Osch
Tim van Osch

Reputation: 483

When I try to console (With OAUTH) it returns more than 1 result. If it doesn't for you try to make the count value higher.

this is my result: http://pastebin.com/H2HVs71G

-Tim

Upvotes: 0

Related Questions