Foursquare Trending API Not giving result

China☆狼群 提交于 2020-08-26 05:01:30

问题


I have checked in to few Nearby places from Foursquare app. Now if I am hitting the foursquare trending api it does not give me the list of checked in venues. Can any one help. This is the api I have used:
https://api.foursquare.com/v2/venues/trending?ll=23.03,72.58&oauth_token=FMT04M2BJ1.............&v=201.... I have tried this also : https://api.foursquare.com/v2/venues/trending?near=Ahmedabad&oauth_token=ONPEHQ.....&v=201... I am Getting such response.

{"meta":{"code":200,"requestId":"5925253df594df26def6707a"},"notifications":[{"type":"notificationTray","item":{"unreadCount":0}}],"response":{"venues":[]}}

回答1:


You may contact the enterprise team at https://enterprise.foursquare.com




回答2:


There is a minimum number of checkins required to be considered a "trending" venue. If you are the only person checked in that venue won't appear to be trending in the area. Maybe try a test with a lat/lng near a popular venue like SFO airport (37.6213129,-122.3789554) and verify that is gets returned.



来源:https://stackoverflow.com/questions/44135310/foursquare-trending-api-not-giving-result

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