Daily Archives: February 16, 2011

The comments plugin requires an application id to properly namespace the provided xid

Published by:

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

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:

xiderror1

And then later in the sidebar (for a simple fan-box)

xiderror3

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.

Bad Behavior has blocked 625 access attempts in the last 7 days.