获取Foursquare的推文geoLocation

时间:2012-08-03 22:25:56

标签: twitter foursquare twitter4j

提取“check-in”位置的Lat和Long字段的最简单方法是什么?当通过客户端查看推文并“展开”它们时,即使推文并不总是包含geoLocation属性,也会显示位置。我想获得相同的结果(是否需要Foursquare API帐户?) 我顺便使用Twitter4j。 谢谢您的帮助, 鲍里斯

1 个答案:

答案 0 :(得分:0)

如果信息不在geoLocation属性中,则需要调用foursquare API(https://developer.foursquare.com)来检索用户签入的场所的lat / lng。您可能希望查看过去曾提出的类似问题,以获取更多详细信息,例如:How can I get the position (lat, lon) of a foursquare checkin posted on twitter?

相关问题