How To Disable OpenGraph Tag Generation In Simple Facebook Connect

The Simple Facebook Connect plugin is the best way I've come across to automatically update your Facebook wall and/or fan page when you post. It seems to do a better job than the Facebook plugin, and is free unlike Network Publisher who recently reduced the number of networks you can share on for free dramatically.

However, Simple Facebook Connect uses an evil hack to generate OpenGraph tags based on a WordPress post's contents that causes the post to be generated twice internally. This causes subtle conflicts with many other plugins, including MailPress. Plenty of other plugins can generate OpenGraph tags, but you can't have more than one doing the job at any time and there's currently no automatic way to arbitrate between them, so we need a way to disable this feature in every plugin that supports it.

There's currently no option to disable OpenGraph tags in Simple Facebook Connect. I asked the author to add such an option since it causes conflicts with several other plugins but he declined.

However, you can work around this by adding the following code to your WordPress theme's functions.php:

/* Turn off Simple Facebook Connects evil OpenGraph tag generation */

Then enable OpenGraph tag generation in one of the other plugins capable of doing it. My current recommendation is to enable it in WordPress SEO by Yoast.

Liked this post? Subscribe to get more like it via email.

About Graham

I'm the creator of
This entry was posted in Social Media and tagged , . Bookmark the permalink.