8
votes

Our apps are getting error 500 on this call :

https://www.facebook.com/dialog/oauth?client_id=89dc1edc0036d868930ccbac657e8b7f&redirect_uri=https%3A%2F%2Fapps.facebook.com%2Frealmofempires%2F&scope=email

Does anyone know of any issues?

There is a work around, just replace the "www.facebook.com" with "m.facebook.com"

3
Are you guessing the change happened at Facebook at 8:21 based on when you started getting the error, or is there a way to see when Facebook publishes API changes?GrahamMc
Did you managed to fix this? I have this problem but the funny part is that it only does it for me in IE (all versions). Any idea how I can fix this?Mihai Fratu

3 Answers

8
votes

Facebook seems to have dropped support for the old API KEYs. If you look at your App Settings page, you'll see App Id/Api Key. These were merged back in 2011, so just replace your api_key with your app_id for the client_id parameter.

This should have been a breaking change.

0
votes

I can reproduce your problem by removing all cookies at facebook.com and then visit your posted link.

If you visit http://www.facebook.com once, then your URL will work. If found it now needs a cookie at facebook.com to work (named datr at facebook.com). There must be a change/problem at facebook.

It also works if you visit the corresponding login.php directly.

0
votes

Depending on what oauth tool you're using, it's possible to get an error 500 if the API key and/or secret are missing