Hello,

Just installed the module and set up App on facebook, but seems it's not working any more. Facebook did some changes (forced to Use Strict Mode for Redirect URIs) and many people from different platforms reporting that issue.
I've set up my domains on App > Settings > Basic > App Domain > mydomain.com
And than Products > Facebook Login > Settings > Valid OAuth redirect URIs:
http://mydomain.com/
http://mydomain.com/admin/config/services/fb_instant_articles/api/login&...

Client OAuth Login and Web OAuth Login are on, but on attempt to login from my drupal fbia api_settings page i get an error

URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.

On facebook support page some people reported they have fixed the issue by upgrading to php SDK Version 5, and setting graph API version to 2.12.
I did set API version to 2.12 but nothing have changed, have no idea about SDK version of the module.
Could you please check if this is common issue and possibly fix it?

Comments

Mytko Enko created an issue. See original summary.

Mytko Enko’s picture

Issue summary: View changes
Neolucky’s picture

We have the exact same issue on our website with instant articles.

m4olivei’s picture

Assigned: Unassigned » m4olivei

Thanks for reporting, I'll investigate.

m4olivei’s picture

Category: Bug report » Support request

It worked for me. Under my App > Settings > Basic, I've set:

App domains: druapl8.local
Website > Site url: http://drupal8.local/

Under Products > Facebook Login > Settings I've set:

Valid OAuth Redirect URIs: http://drupal8.local/admin/config/services/fb_instant_articles/api/login

After that it connected OK. Granted this is not clearly documented, and we could use some better documentation around it.

m4olivei’s picture

Status: Active » Needs review