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
The problem has to be with the access token. Try debugging the access token to confirm.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With