4square
4square copied to clipboard
Authentication Error: "code":400,"errorType":"invalid_auth","errorDetail":"Missing access credentials.
In the documentation of api, it is mentioned that venues search doesnt require authentication then why do i get the auth error ?
Error:
{"meta":{"code":400,"errorType":"invalid_auth","errorDetail":"Missing access credentials. See https:\/\/developer.foursquare.com\/docs\/oauth.html for details."},"response":{}}
Ah. The lib assumes you pass in credentials. Can you share the specific endpoint documentation?
@elbuo8 https://developer.foursquare.com/docs/venues/search
If lat and long is provided, each venue includes a distance. If authenticated, the method will return venue metadata related to you and your friends. If you do not authenticate, you will not get this data.
I've updated the module so it doesn't send empty auth parameters causing it to fail.