Practical Ecommerce

Installing Facebook’s New WordPress Plugin

Facebook has created a WordPress plugin that integrates the social network’s functionality to a much deeper degree. It makes your WordPress site nearly an extension of Facebook itself. Once installed, each time you create a WordPress post, it automatically cross-posts to your Facebook Timeline and Fan page. You can also tag Facebook friends and other Fan pages so that your posts appear on those pages, as well.

In addition to the new publishing feature, “Like,” “Send,” and “Recommend” buttons are enabled, as are Facebook Comments and Subscribe functions. The plugin works on mobile devices and supports multiple languages. Facebook Insights integration is also included.

Installing the plugin requires some technical expertise. But you can accomplish it easily enough by completing the following steps.

1. Install the Facebook Plugin

  • Install the Facebook for WordPress plugin either via the WordPress.org plugin directory or by uploading the plugin to your server (in the /wp-content/plugins/ directory) using an FTP client such as Filezilla or CoreFTP.

  • After activating the plugin in your WordPress administrative console, you will be asked to set up a Facebook app. The following instructions will guide you through the process.

2. Set up a Facebook App

Step 1: Create an App

To set up an app for your WordPress site, go to the Facebook Apps page and click the “Create New App” button. You’ll see a dialog like the one below. Fill this in and click “Continue.”

Zoom Enlarge This Image

Create a new app to configure the plugin.

Create a new app to configure the plugin.

Step 2: Set up the App

Next, set up the app so that it resembles the settings below. You will need to upload an app icon and image, as well.

Zoom Enlarge This Image

Set up the app after creating it by completing this form.

Set up the app after creating it by completing this form.

The form fields that must be completed are:

  • Display Name. This is the name you will give your app, which can be anything you choose as long as it does not violate Facebook trademark agreements.

  • Namespace. This is used to define Open Graph actions and for the URL of the Apps on Facebook (e.g., http://apps.facebook.com/namespace). I suggest using a hyphenated version of your app’s Display Name.

  • Contact Email. Insert your email address.

  • _App Domains. Insert the domain name of your WordPress site.

  • Category. Choose a category and possible sub-category.

  • Website with Facebook Login. Use your site’s URL.

  • Mobile Web You can use the site’s URL or the URL to a mobile version, if you have one available.

Other fields are present in the form, but are not required for setup.

Step 3: WordPress settings

Based on the information entered in Step 2, fill in the “settings” form fields in the Facebook plugin located in your WordPress admin console and click “Save.”

Copy and paste app information to the WordPress settings form.

Copy and paste app information to the WordPress settings form.

Once the app has been successfully set up, you will be directed to a page called “Post and Page Settings,” which contains options that will appear on blog posts and pages.

Zoom Enlarge This Image

'Post and Page Settings' page shows different plugin options.

‘Post and Page Settings’ page shows different plugin options.

These options include the following.

  • Social Publisher. Allows you to publish blog content to your Facebook Timeline and Fan Page. Authors can also mention Facebook friends and pages so that content receives even wider distribution.

  • Like Button. Lets a user share your content with friends via their Timeline.

  • Subscribe Button. Lets a user subscribe to your public updates on Facebook.

  • Send Button. Allows users to send content to their friends via email, in a message to Facebook friends, or to a Facebook group.

  • Comments. Enables user commenting on your site.

  • Recommendations Bar. Allows users to click to start getting recommendations, Like content, and add what they are reading to their Timeline.

There are some additional plugin options located in the “Widgets” section of your WordPress admin, which can be added to the sidebar. These include:

  • Recommendations;
  • Recent Activity;
  • Like, Send, and Subscribe buttons.

Many of these functions have been offered individually by third-party developers for years, and you may have some of them already enabled on your WordPress site. If so, it might be necessary to deactivate them for the new plugin to work properly or to avoid duplicate functions, such as two Like buttons.

Publishing to Timeline

Finally, some additional steps are required for posts to appear in Timeline.

  1. Click “Publish to author’s Timeline” under the Social Publisher option.

  2. Go to the Facebook Apps page and click on the app you set up earlier.

  3. Click the “Open Graph” link.

  4. Click “Create New Action Type.”

  5. Enter “publish” from the drop-down menu and click “Submit.”

Zoom Enlarge This Image

Choose 'publish' from the Open Graph actions menu.

Choose ‘publish’ from the Open Graph actions menu.

Clicking the “Submit” link is required because any actions associated with Open Graph must be approved by Facebook. Once the above steps are completed, Facebook will also ask you to do the following.

  1. Authenticate with Facebook in the WordPress control panel. You will see a status message at the top, asking you to do so.

  2. Publish a post or page to your WordPress site. You should see the post appear on your Timeline.

If you do not see the post in Timeline, go back to the Open Graph tab in your app settings and click on the “Submit” link again to ensure that it is submitted for approval.

Conclusion

The steps required to enable the new Facebook plugin may seem to be more trouble than they are worth. However, taking the time to follow these steps will make your WordPress site much more social where Facebook is concerned, and create new opportunities for your message to spread virally among your Fans and their friends.

For additional information in setting up the plugin, visit these Facebook pages.

Paul Chaney

Paul Chaney

Bio   •   RSS Feed


email-news-env

Sign up for our email newsletter

Comments ( 8 )

  1. surfjam June 21, 2012 Reply

    Unfortunately, this plugin, like so many products developed by Facebook, is not quite ready for prime time. It’s very buggy and, although the developers seem to be actively trying to resolve issues, they are also being flooded with support requests for a huge variety of problems.

    Probably not a good idea to install this on an active site… yet.

  2. mattkelly July 26, 2012 Reply

    Matt Kelly from Facebook here. Thanks for the awesome write up, Paul! :)

    @surfjam We did stumble upon some bugs that we weren’t expecting. However, we’ve released two significant new versions that fix the majority of the bugs that we heard. Check it out and let us know if you have any other feedback at http://wordpress.org/support/plugin/facebook. Thanks for the interest!

  3. Carlos Rivera August 10, 2012 Reply

    It is always challenging to maintain predictive performances with the various WordPress plug-ins, its updates, and source site’s dynamics. Having a custom plug-in built by the source site should (theoretically) result in a more stable platform. I’ll give it a try!

  4. Andrew Muschamp McKay September 13, 2012 Reply

    I installed this plugin on my blog, it did not go as smoothly as expected particularly the part where one must create and submit an action. The recommendation bar does not seem to work as well as some other recommendation algorithms which I’ve currently got running on my blog. I also seem to have a bunch of Facebook Open Graph Actions and Objects which I didn’t explicitly create, I wonder if the Recommendation Bar could have created them. http://blog.muschamp.ca/2012/09/09/installed-the-facebook-for-wordpress-plugin/

  5. Peter Smith December 1, 2012 Reply

    The plugin many products developed by Facebook, is not quite ready for prime time. Because it’s very buggy and, although the developers seem to be actively trying to resolve issues.

  6. Max Olafsson January 12, 2013 Reply

    This plugin seems to have been changed to a degree – i.e. on my install there is no ‘post and page settings’, and no field named ‘App namespace’ under ‘WordPress settings’ – only app id and secret. I’m surprised at the documentation from fb on the wordpress site regarding install. Am I missing something? – only 5 lines there -mainly concerning how to activate any plugin in WP- barely enough for novices to set this up! This good guide you have made and others show facebook how they should have it done in the first place! Thank you. WordPress should give them a little talk on the need for proper documentation.

  7. Peter Parker June 6, 2014 Reply

    Very useful article, thanks you can find more best social media plugins http://www.dailynewscompany.com/2014/06/04/7-best-social-sharing-wordpress-plugins-2014/

  8. Rachel February 5, 2015 Reply

    Thanks for sharing this post, I hope there will be a follow up sometime for the latest version.
    Thanks,
    http://www.spanglishwebs.com/