Get venue info without oauth_token

386 views
Skip to first unread message

umarquez

unread,
Apr 29, 2011, 1:02:31 PM4/29/11
to foursquare API
Hi.

I'm working on an app that integrates foursquare, that require to get
venue's info but without authentication.
is that posible and how can get it?
Now I'm using https://api.foursquare.com/v2/venues/551 but I get:
{"meta":{"code":400,"errorType":"invalid_auth","errorDetail":"Missing
oauth_token parameter."},"response":{}}

Thanks and greetings

Pierre Valade

unread,
Apr 29, 2011, 2:08:54 PM4/29/11
to foursqu...@googlegroups.com
Hey,

Sure, you can. If you don't want to provide a oauth token, then you should include your client_id and client_secret.

So your url should be: https://api.foursquare.com/v2/venues/551?client_id=CLIENT_ID&client_secret=CLIENT_SECRET

Make sure to register for a Oauth Consumer before at: https://foursquare.com/oauth/


- Pierre

-- 
Pierre Valade
Sent with Sparrow
Reply all
Reply to author
Forward
0 new messages