Facebook Connect no longer working
Had no issue with Facebook connect. Now it does not work. Error message states the URL isn't included in the app's domains. It is included so I'm not sure why it's not working.
-
-
·
LeonidS
- ·
Hello Devin!
This issue has appeared recently due to a new safety policy on FB. Now "Use Strict Mode for Redirect URIs and Enforce HTTPS" enabled by default and can no longer be disabled, see details for example here https://developers.facebook.com/bugs/518422995172099/. So, to fix your Facebook app you need to do following actions:
1) login to http://developers.facebook.com/apps/ and find app which you need to fix,
2) click "+ Add Product" link,
3) choose "Select Facebook login" as a product,
4) choose "Web" as the "Platform",
5) enter your UNA site URL and press the "Save" button,
6) then click on the "Continue" button till the Step 5,
7) find on the left side point "Facebook Login" and click "Settings" menu within,
8) under Client oAuth settings, make sure "Use Strict Mode for Redirect URIs" parameter is set to "No" and that your site URL is in the Valid OAuth redirect URIsbox. Then the press "Save" button.
9) Check this changes in action.
With the best regards, Leonid
-
·
LeonidS
-
Hi there,
It doesn't let you turn this feature off.
-
-
·
LeonidS
- ·
Hello chriscurran!
Sorry but may you specify you post with more details?
With the best regards, Leonid
-
·
LeonidS
-
- · Bul
-
·
In reply to LeonidS
- ·
Hi LeonidS
What chriscurran is saying is that Facebook does not allow to turn "Use Strict Mode for Redirect URIs" off. I've just created a new app on facebook and the "Use Strict Mode for Redirect URIs" setting is default set to "yes" and you can not switch it. (see screenshot)
-
-
·
LeonidS
- ·
Hello Bul!
Yes, for the new app it will be always as "yes" now.
With the best regards, Leonid
-
·
LeonidS
-
- · Devin Young
- ·
I followed your instructions step by step and still does not work. As others are saying; the "Use Strict Mode for Redirect URIs" setting is default set to "yes" and you cannot change it. Still getting the same error message when trying to login with Facebook.
-
-
·
LeonidS
- ·
Hello Devin!
As I found you may try to add something like "page-login-facebook" to the main URL in "Valid OAuth Redirect URIs". And yes, you should have this page (you may create it via Studio->Pages App).
With the best regards, Leonid
-
·
LeonidS
-
-
·
Alex T⚜️
- ·
There is a problem with Facebook App with Facebook API v.2.11 and newer (2.10 maybe affected too).
We've fixed it by updating Facebook SDK to the latest version:
https://github.com/unaio/una/issues/1222
Please wait for the version update to apply it to your site.
-
·
Alex T⚜️
-
- · Devin Young
- ·
Any update on this? Still cannot get Facebook login to work. Anyone able to use it?
-
- · Devin Young
- ·
UPDATE: I just got it to work. I forgot to get the sitedomain/m/facebook_connect/login_callback link from the UNA's Facebook app's configuration link and place that link in the Facebook app setting's "Valid OAuth Redirect URIs". It works now.
-
- · Sam Alter
- ·
Devin Young : Thanks for your update, just fixed it by simply adding
MySitesRealDomain/m/facebook_connect/login_callback
in the
Valid OAuth Redirect URIs
field and facebook-connect started to work like a charm....