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. I
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
Your application should be on the same domain of what you enter in the facebook developper's settings
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..
In my case it was the www. that I omitted, so for instance:
http://website.com
instead of
http://www.website.com
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.
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.