Redirect_uri url is not supported

I use facebook application on two servers, dev and live. The dev server is hosted on test.testdev.com , and the live server is hosted on test.testlive.net . Previously, it worked fine on both servers, but now it only works on dev.

When I try to access it on a live server, it displays the following error:

Redirect_uri url is not supported

My Facebook app is configured as follows:

Website URL: http://testlive.net/

Application Domains: testlive.net testdev.com

I tried using different settings, but for me it did not work. What could be the reason for this? Also, if redirect_uri starts with http / https?

+7
facebook facebook apps
source share
1 answer

I found the answer to my question. For a live server, redirect_uri was not configured properly, i.e. redirect_uri was //test.testlive.net , whereas it had to be started with http / https, for example http://test.testlive.net .

So, in the future, if you run into this problem, make sure your redirect_uri should start with http or https

+11
source share

All Articles