Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Plugins by

I have seen a  lot of questions of this kind, but i couldn't find my answer on they. 

I have v1.1.5 for facebook plugin.  My problem is so that i have added facebook login button. I have added the ID and the secret key. And when you click the login buton, type tour email and password than to accept my app, all those run very good, but than there happens nothing. How to fix this error, for more my q2a site is http://pyetje-pergjigje.comule.com.


And sorry for my bad english! 

1 Answer

0 votes

The error that I can see is :

Given URL is not permitted 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.

The configurations steps you should follow are :

On the Facebook app dashboard :
- in the "App Domains" field put : comule.com
- in the "Website with Facebook login"  section, in the "Site URL" field put :
This value must be equal to the value in the "Preferred site URL" field on q2a (admin panel settings). In this case the "Preferred site URL" of your site should be also:
In the "Display Name", "Namespace", "Contact email", put the values you want.
Disable Sandbox mode. 
- you do not need to fill the other sections ("App on Facebook" and "Mobile Web")
Take the Facebook "App-id" and "App-Secret" values and put them in the facebook plugin Admin panel options.
Save changes.
Check that you have followed exactly all the steps (and in particular check your "Preferred Site URL" value)