Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

This may seem silly but after google searching it I was unable to find a solution.

I'm using the newest facebook PHP SDK and wordpress. I've tested my code in plain php and it works like a charm. When I convert it into wordpress plugin I am unable to provide the correct facebook url.

When I click on the connect button I get the warning:

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.

No matter how I rearrange the urls I continue to receive this error when attempting to connect. Can anyone provide insight on what is the proper way to integrate the two and make the url proper?

share|improve this question
As the warning is saing: You should check that the generated URL match the settings of the App. I think is not a problem related with Wordpress itself. –  cybmeta Apr 20 '14 at 14:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.