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

I've activated the facebook login plugin and also I have added a FB like button for the questions in each of the question's page.

the facebook login/logout won't work when in a page with the FB-like button.

i get this error message in FF -> FB.logout() called before calling FB.init()

but it works in all other pages.



thank you in advance.

1 Answer

0 votes
Best answer

I found my problem

I was executing the script to connect to FB twice.

so I removed

<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>

from my FB-like button . and everything is working perfect.