Facebook OAuth doesnt support local testing

If you’re like me, trying to setup a Facebook App for a Website Oauth and having the redirect_uri set to “http://localhost:3000”, don’t bother.

Facebook has regressively disallow localhost testing (or at least in non port-80).

Read the bug report.

Horrible, horrible move.

Edit: One of FB’s support engineer in the same bug report above had indicated that non-common port access should be working and that it is actually a bug rather than a regression. I somehow managed to miss his correction in the bug report the first time round when I posted this article. I will be leaving the entire article as it is because I fucked up and I’m not going to hide.