TIMEX
TIMEX

Reputation: 271824

Am I doing something wrong on my Foursquare venue search API?

I signed up for a new account, registered for an Oauth token from the foursquare website.

Then I hit this in my browser:

https://api.foursquare.com/v2/venues/search?ll=40.7,-74&callback=location&oauth_token=my_token_here

But that doesn't work!

It says:

location({"meta":{"code":401,"errorType":"invalid_auth","errorDetail":"OAuth token not found or has been revoked."},"response":{}});

Upvotes: 0

Views: 2250

Answers (2)

TIMEX
TIMEX

Reputation: 271824

Solved.

You have to provide your client secret and client id.

Upvotes: 4

Related Questions