Heroku facebook login "One or more of the given URLs is not allowed by the application settings."

I am developing a Heroku server to learn the FaceBook API. I developed some code, and I was able to log in and show content from the "/ me / home" API through Php Sdk. ... but now my application cannot log in, it came from nowhere, it gives a message

"One or more of the specified URLs is not allowed by the application settings. It must match the URL of a website or canvas, or the domain must be a subdomain of one of the application domains."

My application is here: http://radiant-retreat-4216.herokuapp.com/facebookfeeds/ On the facebook configuration page I have: Hosting URL: https://radiant-retreat-4216.herokuapp.com/ (it is by filled by default when creating the Heroku application)

There is nothing in the "Application Domains" field.

I think there is a problem with my php sdk, because JavaScript can check the login and display the information registered by the user.

Could you help me?

+4
source share

Source: https://habr.com/ru/post/1491468/


All Articles