I recently got stuck while integrating a comments section into a webpage. The social plugin always threw a “The comments plugin requires an application id to properly namespace the provided xid.” at me.
There’s was no solution in Google, so I will post my solution here.
In my case I had called the script two times. Once in the header:
And then later in the sidebar (for a simple fan-box)
I don’t know what exactly caused the conflict. I believe the second call somehow erased my ap-id… Anyway, by removing …script src=”http://connect.facebook.net/en_US/all.js#xfbml=1… (red box) from the sidebar, both plugins worked fine.
Thanks
it also works for me 🙂
I like that! 😀
Thanks so, so much! This was our issue as well.
i still get that error. And i accidentaly erased the XID code from settings. What shoul I do now ? Where can I find the XID code ?
@Jay The XID code is something you choose yourself so the plugin can remember where comments or likes, etc.. belong. Do you mean API key? You can find it at the developers portal: http://www.facebook.com/developers/apps.php
there are all the keys and more.
thx a lot from Poland ToruÅ„ 🙂
What file did you edit deleting the red box? thanks!
Thanx very very Much 🙂
Nice one, worked a treat for me 🙂 Thanks for sharing.
@Edward That very much depends on how your site is build. In my case, I deleted the connect that came with the comment plugin, because I was already connected through the fan-box plugin that resides in my sidebar (and is loaded first*). The sidebar is included in every page on the site, so I could safely remove the connect in the comment plugin.
*Logically: When using more than one social plugin, it’s imperative that the connection script is executed before the first social plugin on the page is loaded, otherwise that or following plugins won’t work.
Seriously the quickest fix of any issue I have ever ran into 😀 thanks for sharing.
How do i do this? Step by step please?
a thousand thank guy!
thanks a lot man ..
Hey!
Thanks, it worked for me too!
Nice Fix… worked
i got it right when i commented….<!– –> from the side fan page
Thanks!
thanks!
that solved the problem for me.
Thanks! I had a similar problem. Thanks to you, she was decided.
doesnt work for me. If i take out that code as said on here, it automatically takes out the like button atop my webpage that is on every page i have. any idea how to make both work?
http://www.mocofootball.com/rankings.html
Hi Mike
You are actually making the call twice. At the comment plugin you have the line:
Even though that doesn’t seem to have all.js in it, it DOES open the connect javascript. Try to remove that code it and see what happens.
This solved my issue, thanx a lot!!
Fixed my woes as well! Awesome!
pls, can you give me specific root, where i find this script? script src=â€http://connect.facebook.net/en_US/all.js#xfbml=1