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?