FB.init has already been called – this could indicate a problem?

A1WEBSITEPRO QuestionsCategory: QuestionsFB.init has already been called – this could indicate a problem?
Anonymous asked 9 years ago

I am getting an error in my console FB.init has already been called – this could indicate a problem. What is this and how do I deal with it?

FB.init has already been called – this could indicate a problem? was last modified: May 25th, 2015 by Anonymous
0 Answers
Maximus Mccullough Staff answered 9 years ago

This question has been answered well at stack overflow. Basically you need to change your link for the incoming script. 
From this:

js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=X";

To this:

js.src = "//connect.facebook.net/en_US/sdk.js";

Answer for FB.init has already been called – this could indicate a problem? was last modified: May 25th, 2015 by Maximus Mccullough