How to crawl foursquare check-in data?

北城余情 提交于 2019-12-20 15:10:33

问题


Is it possible to crawl check-in data from foursquare in a greedy way? (even if I don't have friendship with all the users) Just like crawling publicly available twitter messages. If you have any experience or suggestions, please share. Thanks.


回答1:


If you have publicly available tweets containing links to foursquare, you can resolve the foursquare short links (4sq.com/XXXXXX) by making a HEAD request. The head request will return a URL with a check-in ID and a signature. You can use those two values to retrieve a check-in object via the foursquare API /checkins/ endpoint. You're only allowed to access 500 of these per hour.

You must abide by both the Twitter and foursquare terms of service -- in fourquare's case, you may not display this information to anyone, nor may you retain any user information for more than 3 hours (since the user has not authorized your application).




回答2:


You can only get the check-in data for a location if the manager of the location gives you OAuth access to your application. If you have that, you can use the real-time API defined here: https://developer.foursquare.com/docs/realtime.html




回答3:


No, it is not possible to crawl check-in data similar to Twitter. This information is considered personal data and is not public.




回答4:


You can crawl twitter data for foursquare data =)



来源:https://stackoverflow.com/questions/8206849/how-to-crawl-foursquare-check-in-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!