简体   繁体   中英

How Can I solve the facebook redirect uri error?

I am gonna create a facebook login with PHP and MySQL. So, I built a simple form and add the facebook login button. After then, I crate an app on facebook developer console. But I am getting such error when click the Facebook Login Button. Here is the error.

Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

在此处输入图片说明

I look forward to hearing from you about the solution. Please let me know if you have any question. Looking to your reply. Thanks.

Facebook added settings for the Facebook Login product. To add a valid redirect URL, you have to go to the left menu, below Products , there should be something named Facebook Login .

Facebook Login > Settings > Valid OAuth redirect URIs

Update it and click on Save Changes then try again.

Screenshot of left menu

在此处输入图片说明

Screenshot of Client OAuth Settings

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM