Facebook One or more of the given URLs is not allo

2019-01-22 21:16发布

Result in console:

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

Basically what I am trying is to enable user to login on my blog on blogspot.com, and to post on his wall some message.

here is how I configure app on facebook:
App Domains:blogspot.com
Sandbox Mode:disabled
Site URL:my_blog_name.blogspot.com/p/publishing.html

12条回答
Animai°情兽
2楼-- · 2019-01-22 21:57

If it does'nt work even after you have setup the website URL in Settings -> Basic tab, and Settings -> Advanced -> Valid OAuth redirect URIs, Try doing the following stuff and check if it works out.

Step 1) Goto, Settings -> Basic -> Contact Email (Fill the email id you want your app to sync with)

Step 2) Goto, Status & Review -> Status -> Enable options as yes (Make your app visible to public)

Now, restart your app and check, if it works fine..

查看更多
我想做一个坏孩纸
3楼-- · 2019-01-22 22:00

Your application should be on the same domain of what you enter in the facebook developper's settings

查看更多
一纸荒年 Trace。
4楼-- · 2019-01-22 22:01

This can also happen when the redirect_uri submitted with the https://www.facebook.com/dialog/oauth request is not present in the list of Valid OAuth redirect URIs under:

  • Settings >> Advanced >> Security

After much trial and error, when I added the redirect_uri that I was using (https://www.facebook.com/connect/login_success.html in my case), I suddenly got to the step past this error.

查看更多
▲ chillily
5楼-- · 2019-01-22 22:04

Yes This is The common problem of facebook api. Don't use www before url. It will solve the problem.

查看更多
Deceive 欺骗
6楼-- · 2019-01-22 22:06

Facebook doesn't care what actual IP address your server is located at - but it will check that the domain name of the referring page is the same as the domain you registered with facebook.The problem is that whatever url you are currently hosting your app is not setup in your Application configuration. Go to your app settings and ensure the urls are matching.

查看更多
我想做一个坏孩纸
7楼-- · 2019-01-22 22:06

I was facing same problem when I was posting links on Facebook wall.

I did this:

From https://developers.facebook.com/

On Migration tab Stream post URL security was enabled. So I just disabled it and after that it is working for me now.

Hope this solve the problem for others.

查看更多
登录 后发表回答