Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
5.6k views
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.

reference:

http://askuw.com/152/google-scholar-how-search-for-the-most-frequently-cited-paper

thank you in advance.

1 Answer

0 votes
by
 
Best answer
ok,

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.
...