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

Anonymous asked 4 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

Tip: Click on images to make them larger. If you find anything wrong on this page or need further assistance please comment below or contact me. 🙂

Please like, share and subscribe.

Advanced Programming Made Easy

I hope you enjoyed the article. If I was able to help you please consider a tip for the content.

One Time Tip

more tips

Reoccuring Tips

Tips

Cool People Share:
0 Answers
Maximus Mccullough Staff answered 4 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:

Tip: Click on images to make them larger. If you find anything wrong on this page or need further assistance please comment below or contact me. 🙂
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

Subscribe To My YouTube Channel:

Please like, share and subscribe.

Advanced Programming Made Easy

I hope you enjoyed the article. If I was able to help you please consider a tip for the content.

One Time Tip

more tips

Reoccuring Tips

Tips

Cool People Share: