Facebook’s Social Plugins for WordPress

On Wednesday, Facebook announced the new Graph API which enables developers to access Facebook’s data in a new and improved way. Another announce was Social Plugins. Those plugins let you add some of Facebook’s social features right into your website with little effort.

Meanwhile, I started playing with WordPress plugins development so I thought this was a good place to start. I have started working on a plugin that lets you easily add those social plugins to your WordPress blog. You can see what it looks like at the end of this post and in the “Recent Activity” box in my sidebar. Check out the plugin’s page for more information. Please remember that this is my very first attempt at a WordPress plugin so bare with me! :)

Bookmark and Share
Posted in WordPress by Olivier at April 23rd, 2010.
Tags: , , , , ,
  • http://topsy.com/trackback?utm_source=pingback&utm_campaign=L2&url=http://olussier.net/2010/04/23/facebooks-social-plugins-for-wordpress/ Tweets that mention Facebook’s Social Plugins for Wordpress – olussier.net — Topsy.com

    [...] This post was mentioned on Twitter by Olivier Lussier, Mathieu Duchesneau. Mathieu Duchesneau said: RT @olussier: New post: Facebook's Social Plugins for WordPress http://bit.ly/9AM5SH [...]

  • http://olussier.net/2010/04/30/facebook-social-plugins-for-wordpress-new-version-available/ Facebook Social Plugins for Wordpress: New Version Available – olussier.net

    [...] am pleased to announce a new version of my Facebook Social Plugins WordPress plugin. You can now get the plugin from [...]

  • http://marshallgolden.wordpress.com Marshall Golden

    Hi and thanks for all your hard work. However, I am currently very frustrated. I have a blog that is currently hosted on wordpress.com. The URL is http://marshallgolden.wordpress.com. I have been trying for two days to install the “Like” button as well as several other plugins that allow visitors to share the content on various other sites. But every time I paste either the iframe code or the XBML code into the appropriate field wordpress strips out the relevant tags making the plugin useless. The site's documentation says that they don't allow javascript for security reasons but I was still hoping there might be a solution somewhere that will allow me to host this very useful feature.

    Any ideas for me?

    I was able to get a share button up but it won't allow a drop down menu and, instead, redirects visitors to a third party site where they can complete the share. Very clukmsy and distracting. If you can help me to solve this proiblem you will become my own personal hero!!

    Thanks again for your time and attention,
    Marshall Golden
    marshallG@thereel.com
    http://marshallgolden.wordpress.com

  • Titren

    Hi There,
    you know in your demo page, there is the showcase of each facebook plugin in the actual page, ie. not in the form of a widget.
    Now here is my question: how can I implement the FB Comments Plugin in an actual wordpress page, and not just a small widget at the side bar, I like it to be full page, just like your demo page. is there a Shortcode or any tricks to achieve this.
    sorry if the question is so basic, i am really not a programmer.
    Thanks,

  • Guest

    Hi
    I downloaded the extract for facebook like button and uploaded the files to my blog location under /public_html/blog/wp-content/plugins

    But I get this error when I activate the plugin.

    Fatal error: Class ‘WP_Widget’ not found in /home/myname/public_html/blog/wp-content/plugins/widgets/like-button.php on line 2

    Pls help me to fix this error

  • http://olussier.net/ Olivier

    Hi,

    First of all, what version of WordPress do you use? This error would occur on version older than 2.8 which are not supported by the plugin. It is recommended to keep your WordPress installation up to date.

    If you have a supported version, then maybe something went wrong in uploading the files manually. The recommended way of installing plugins to avoid to kind of problem is to go through your dashboard in Plugins > Add New, then search for and install the plugin from there.

blog comments powered by Disqus