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条回答
The star\"
2楼-- · 2019-01-22 21:47

These Problem Occurs Because of You Are not correctly Configure Your Site Link in FaceBook.

Go Facebook Developers page

1.Select 'Settings' 2.Click 'ADD PlatForm' 3.Select 'Wesite' 4.Give Your Website Name

Finally Save the Settings That's All

查看更多
We Are One
3楼-- · 2019-01-22 21:49

after putting site url to begin with http:// it resolve my issue. Now my Site URL looks like this: http://my_blog_name.blogspot.com/p/publishing.html

查看更多
不美不萌又怎样
4楼-- · 2019-01-22 21:49

Facebook App Settings

Although answered several times with similar info, this is my experience FYI

  • Testing on localhost - I wondered if that might be the problem, but nope.
  • app_id and redirect_uri included.
  • URLs properly encoded.

So why this error?

See Facebook Community Help as I did, for the important missing part of the puzzle.

That is:

<a href="https://www.facebook.com/dialog/share?
    app_id=1234567890
    &display=page

    &href=http%3A%2F%2Fexample.org <-- This
    &redirect_uri=http%3A%2F%2Fexample.org" <-- and This

target="_overTheRainbow">Tell the world about this awesomeness!</a>

Must match the reference URLs submitted to Facebook for the app with app_id.

查看更多
Deceive 欺骗
5楼-- · 2019-01-22 21:51

In my case it was the www. that I omitted, so for instance:

http://website.com

instead of

http://www.website.com

查看更多
做自己的国王
6楼-- · 2019-01-22 21:52

Go to settings and and then Advanced tab. At the bottom "Embedded browser OAuth Login" enable this option. then your problem is resolved.

查看更多
家丑人穷心不美
7楼-- · 2019-01-22 21:57

I had this problem because at first I didn't put app domain in the Settings page. And after I added "example.com" to the app domain field (assume URL is http://www.example.com), the problem no longer exists.

查看更多
登录 后发表回答