Facebook Insights Plug-In on WordPress

Plugins are all about convenience.

So if you want a convenient way to track your facebook shares and likes and have access to the “backend pages” facebook automatically creates when you have implemented all the necessary code in your page, this one is for you.

Quick Overview

It lists all your posts (sorted by date), including post title, link to the individual post, facebook Like, Share, Comment, Total & Click Counts and provides a link to your facebook’s “secret Admin Page” (if available).


WordPress (obvious)

Facebook’s Like button, facebook’s Share button, either manually or via a plugin.

The following HTML tags in your WordPress theme’s header file:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" <?php language_attributes(); ?>>

The following minimum of facebook’s Open Graph <meta> tags in your WordPress theme’s header file:

<meta property="fb:admins" content="YOUR_FACEBOOK_USER_ID" />
<meta property="og:title" content="<?php the_title_attribute( $args ); ?>" />
<meta property="og:type" content="blog" />
<meta property="og:url" content="<?php echo get_permalink($post->ID); ?> "/>
<meta property="og:image" content="LINK_TO_AN_IMAGE_ON_YOUR_SERVER" />

By facebook userID we mean your numerical userID, not your screen name.
Make sure you use the correct facebook user ID, because you cannot change it once people started liking your post: you can only append it, but you cannot change it.

Don’t forget to Like your own post/page (when logged into facebook as the same user), only then will facebook create the actual facebook page from your post.

You can tell the page is available because next to your Like button you will see a link to the Admin Page (only of you chose “standard” in the button layout).

As soon as this (Admin) Page is available, a link to its Insight location is available via the plugin, right next to the Like and Share counts, from which you get to the actual page (by clicking on the logo).

Besides the fact that facebook obviously cannot spell “administrator”, this page is a fully functional facebook page. And the people who clicked the Like button are still called Fans 😉


Download the plugin
Extract the files into the fb-social-stats directory
Upload the directory into your WordPress /wp-content/plugins/ directory
Activate the Plugin in your WordPress Plugins menu
Go to FB Social Stats in your Dashboard.


We included a style sheet to make the output pretty. It automatically gets loaded when the plugin is called. Feel free to edit it any way you like it 🙂

Known Issues

Occasional long loading times due to facebook API connectivity issues.

Previous Custom Fan Page With Facebook Video Embeded
Next Facebook Secret Hide Content on Fan Page Until Someone Likes It

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

Facebook 0 Comments

BEST WordPress Plugins for Facebook

It feels like yesterday when Facebook was launched. But it has quickly become one of the biggest social communities around the world with millions of people using it on a

Facebook 0 Comments

Facebook as a Search Engine

We have been saying it for the last year, that more and more people use Facebook to search for things other than just friends, crushes and ex-boyfriends…like products and services…and

Facebook 0 Comments

4 Simple Yet Powerful Ways To Promote Your Facebook Fan Page

Facebook Fan Pages are the hottest thing on the web right now!  Business owners, movie stars, and even churches are finding that a Facebook Fan Page can radically change the

Facebook 0 Comments

Killer Facebook Fan Pages: 5 Inspiring Case Studies

When Facebook re-launched its fan pages earlier this year, companies were thrilled. At last, there was a solid way to have a presence on Facebook (), and users were actually

Facebook 0 Comments

HOW TO: Disable Facebook’s “Instant Personalization” [PRIVACY]

Last week, Facebook added a suite of new features that let websites like Pandora and Docs.com access some of your personal information and use it to instantly personalize your experience.

Facebook 0 Comments

Google Analytics for Facebook Fan Pages

We launched our Facebook fan page at the end of last year and as with all Facebook pages only Facebook Insights program is available to page administrators. Facebook Insights shows demographic details


No Comments Yet!

You can be first to comment this post!

Leave a Reply