Reputation: 53
I have two Facebook applications (websites) using the OAuth login from Facebook functionality. One works, the other gives me a 400 error when I request the user data. The request looks like this:
https://graph.facebook.com/me?fields=id,name,email,first_name,last_name,username,locale,location&access_token=[token returned by earlier calls]
Both websites use the exact same code (but get their app IDs and app secret from a db call). The token request and token check are returning OK, it's when I go ahead and ask for the user data, then I get an error.
Ideas? TIA, Owen
Upvotes: 3
Views: 6963
Reputation: 1681
The problem has to be with the access token. Try debugging the access token to confirm.
Upvotes: 4