How to Add Facebook’s Like Button & Social Plugins to Your Web Pages & WordPress Posts

Facebook’s new Open Graph protocol is now official, having been announced and launched this past Wednesday at the Facebook f8 Conference. It is the successor to Facebook Connect which will be slowly phased out, and it is a big improvement, making it much easier to “socialize” your Web pages into Facebook’s hyper-expanding social network.

I must admit it was hard to sit still at the f8 conference after Mark Zuckerberg made the announcement in his keynote address and I attended a couple sessions that delved deeper into the Social Plugins and the Open Graph protocol. As soon as possible, which happens to be today, I decided to start experimenting by adding some social plugins to my WordPress blog.

I decided I could save others a lot of time if I wrote up a tutorial. So here it is….

Adding the Facebook Social Plugins to your Web Page or Blog — XFBML or iFrame?

Facebook offers two methods to add their social plugins to your Web page or blog posts:

  1. A simple iframe which can be easily dropped into the Web page code;
  2. The <fb:like> XFBML tag, which requires that your page/post make a call to the JavaScript SDK and that your page be set up as a Facebook application (quite easy).

I decided to go the XFBML route which, although a bit more complicated, is more feature rich than the iframe method. For example, after clicking on your Like/Recommend button, the user can add a comment to the profile post.

If you’d be happy with the simpler iframe method, there are already several WordPress plugins to add the Like button.

Create an Application – Tell Facebook Your Website, Web Page or Post is an Application

The Web page or blog post to which you will add Facebook’s social plugins or other features that interact with Facebook’s Graph API will be viewed by Facebook as an “application,” which allows the page or post to use the JavaScript SDK. Here is the drill:

Previous Top 10 FREE Coming Soon Wordpress Themes
Next Top 5 Live Chat Software For Your Website

About author

Jarrett Gucci
Jarrett Gucci 289 posts

Jarrett Gucci is the owner of Dynasty Web Solutions. A full service Internet presence provider specializing in WordPress development for business owners. Jarrett Gucci along with his team of professionals have designed over 400 WordPress websites. Jarrett Gucci believes strongly in creating websites that are unique, functional and generate referrals.

You might also like

WordPress Plugins 0 Comments

The Best Facebook Plugins For WordPress

ContentsFacebook friend connect wordpress pluginsShare on facebook wordpress pluginsFacebook comments wordpress pluginFacebook photo plugin for wordpress Facebook is most popular social bookmarking site ,so installing facebook wordpress plugins enables your

WordPress Plugins 0 Comments

Top 16 Premium WordPress Slideshow Plugins

Contents1. WP Slideshow Gallery2. CCSLIDER WP3. UBILLBOARD WORDPRESS SLIDER4. SLIDER PRO – WORDPRESS SLIDER PLUGIN5. SLIDER EVOLUTION FOR WORDPRESS6. ESTRO – JQUERY WORDPRESS SLIDER7. DDSLIDER for WORDPRESS8. KEN BURNS WORDPRESS

WordPress Plugins 0 Comments

Top 15 – Business WordPress Plugins

Blogs are the greatest thing to ever happen to online business marketing, WordPress is the greatest thing that ever happened to blogging and WordPress plugins are the greatest thing that

WordPress Plugins 0 Comments

30 Best Twitter Plugins for WordPress

ContentsTwitter ToolsTwitterDashThread TwitterElegant Twitter WidgetTwitt-TwooTwitter RetweetTweet TweetTwitter WidgetTwitter Widget ProTweet RoosterWP-Twitip-ID PluginTop Twitter Links by TwitturlsTwitterFountainTweetSuiteTweetBacksTweet StatsTwitter Remote (beta)Tweet ThisComenTwitterTweetRollTwitmeTwitter PosterTwitter Friends WidgetTweetable Twitter PluginTwitter FeedAdd Twitter RSSTwitterCounter@ ReplyBird FeederTwitter

WordPress Plugins 0 Comments

Drag & Drop WordPress Editing Plugin

ContentsAwesome Share fromVisual Composer – current version 2.1.6 available for download!Works with any post type… Yes, custom post types works tooExtendableModules included & Cost – $25 Awesome Share from Visual

WordPress Plugins 0 Comments

WordPress Support Videos Plugin DevSup

I am happy to announce that we have released our 1st WordPress Support Videos Plugin to the masses on WordPress.org.  The name of the plugin is DevSup and it makes

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.