Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Fix FoursquareTemplate to accept Userless Access #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

averkhoglyad
Copy link

Fix FoursquareTemplate to accept Userless Access

If call constructor AbstractOAuth2ApiBinding(accessToken) it adds header Aythentication: Oauth even if pass null. In this case foursquare returns 400 Bad Request on user less requests
I changed constructor FoursquareTemplate() to use the default parent constructor.

Matt Wright and others added 2 commits April 9, 2012 14:58
Fix FoursquareTemplate to accept Userless Access

If call constructor AbstractOAuth2ApiBinding(accessToken) it adds header Aythentication: Oauth <accessToken> even if pass null. In this case foursquare returns 400 Bad Request on user less requests
I changed constructor FoursquareTemplate() to use the default parent constructor.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants