Is anyone familiar with Twitter API??

看板Web_Design作者時間12年前 (2012/06/07 13:54), 編輯推噓0(006)
留言6則, 2人參與, 最新討論串1/1
Hi, I have a question about Twitter API. In Twitter Search API if you use http://search.twitter.com/search.json?....&geocode=..... it gives you tweets near the location you specified. This is no problem. My question is: In those tweets returned from this search, some of them (in fact most of them) does not contain any location information nor geocodable information. If this is the case, how does Twitter server decides these tweets are near the specified location?? Or is it because those tweets DO contain location -related information, but Twitter Search API DO NOT return them for some reason? Thank you very much. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 143.215.18.78

06/07 17:06, , 2F
according to the doc, if a tweet doesn't have
06/07 17:06, 2F

06/07 17:06, , 3F
geocode, it will fallback to user's location.
06/07 17:06, 3F

06/09 15:35, , 4F
thank you, but do you know what would happen if user
06/09 15:35, 4F

06/09 15:36, , 5F
location is null too? meaning this tweet is not
06/09 15:36, 5F

06/09 15:36, , 6F
locatable? If so, how is it returned by Search API??
06/09 15:36, 6F
文章代碼(AID): #1Fq48QJE (Web_Design)