FourSquare Venues API

I am a little loose about how to use the forusquare APIs. My main question is related to OAuth. I want to be able to search for locations on the server side, and I need a server to automatically enter four windows. The website says that foursquare does not require user authentication to use some location features, however whenever I try to call: places / categories without specifying oath_token, I get a permission error.

How can I make local calls without using user login?

Thanks in advance.

+5
source share
3 answers

This will help if you provide the exact URL that you are trying to call, but in general:

Foursquare - , , OAuth .

id +, API- Venue .

, , , , , :

https://api.foursquare.com/v2/venues/categories?client_id={0}&client_secret={1}&v={2}

.
{0} {1} {2} , , 20111218

https://developer.foursquare.com/overview/auth#userless

+6

https://developer.foursquare.com/docs/explore#req=/venues/categories, //, , :

https://api.foursquare.com/v2/venues/search?ll= "+ ll +" & radius = 10000 & limit = 50 & categoryId = "+ catID +" & client_secret = xxx &; client_id =

url ll, long lat, json- . - App/Web , 5000 , , Foursquare , Foursquare info, Foursquare .. - , .

+2

All Articles