Note: Use this post to talk about the Wordpress Facebook Like button plugin
It’s nice to have lots of people like your pages, but it’s even better if you can also send all those Facebook user a message too.
For instance you could post updates about your page, or offer products and services (or advertisement) in a pinpoint accuracy targeted way.
The main revolution Facebook announced at f8 on April 21st is that every legacy web page on the web can now be turned into a Facebook page.
Here is how it works in practice and how to administer your blog pages on Facebook.
You will be able to not only view all the Facebook users who Liked your page, but see statistics and also send all of them messages directly to their Facebook feeds.
spammy viral tool here.
The First solution if you use Wordpress and the Facebook Like button plugin is to simply configure the plugin by entering your Facebook ID in the Settings page.
It will make an “Admin Page” link appear next to the number of shares you have so far for the page:
And voilà! You’re done. The meta data will be added automatically to the header.
The Second solution, if you don’t use the plugin, or if you use another blogging software or even a standalone website is to add some meta tags in the html header.
Here are the steps to do it manually in Wordpress.
1/ Modify you Wordpress header
Edit your Wordpress header file…
bash# cd ~/wordpress/wp-content/themes/<THE DIRECTORY OF YOUR THEME>/ bash# vi header.php
… by adding HTML tag attributes (very top of the 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(); ?>>
… and by adding these meta tags in the header section of the header.php file:
<meta property="fb:admins" content="YOUR OWN FACEBOOK 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="http://blog.bottomlessinc.com/wp-content/uploads/2010/04/logo.jpg" />
Don’t forget to replace “YOUR OWN FACEBOOK ID” with your own numerical Facebook ID.
(example: “68310606562″ if you are Mark Zuckerberg)
Be careful to use the proper Facebook ID as once people start liking your post, you cannot change this ID anymore for security reasons.
You can only append new Facebook IDs (separate them with commas) and cannot replace the original Facebook ID which always has to appear first.
So in the previous example the first Facebook ID will always have to be 68310606562, otherwise Facebook will return this error when trying to like the page:
You previously specified 68310606562 as the leading admininstatory in the ‘fb_admins’ meta tag. The ‘fb_admins’ tag now specifies that 666 is the leading administrator. That needs to be changed back.
Also you can’t remove the Admin ID anymore once it’s been entered, or you will get this error:
Your page no longer includes any admininstrator IDs, even though you’ve specified one before. You must include 68310606562 in the ‘fb_admins’ meta tag, and it must be the very first one if there are many.
Thanks to Tim at Hyperarts for the code.
2/ Administer your Facebook Ghost Pages
Now refresh your page, click on the “Like” button and notice the link to your newly created Facebook admin page as in this screen shot:
Clicking on the “Admin Page” link will redirect you to Facebook, which is only a regular Facebook Page automatically created with the picture specified in your header meta tag as profile picture.
It looks like this:
Notice at the top the message in the yellow box confirming your are administrator of the page:
Administer Your Page.
You are seeing this page because you are an administator. All other users are directed to http://blog.bottomlessinc.com/2010/04/creating-a-wordpress-plugin-add-the-new-facebook-like-button-to-your-posts/, but you are being directed here so you can manage your fans and publish stories to your fans’ News Feeds.
(hum, looks like Facebook doesn’t know how to spell administrator).
Facebook provides a list of all the pages you administer in one convenient place.
Facebook is definitely mirroring the whole entire world wide web with these ghost pages that will blossom like mushrooms this spring.
From this Facebook page you can:
- see all Facebook users who Liked your page (formerly known as “Fans”)
- see statistics about the page (“insights”)
- post a message to your page wall
You will then start getting a weekly email update from Facebook listing the statistics of all your the different pages that were created.
For each page you will see:
- number of fans this week and number of total fans (hum, Facebook still calls them “Fans” here, I guess it didn’t sound right to call them “Likers”?)
- Wall Posts, Comments, and Likes this week (and last week)
- visits to your page this week (and visits last week)
- a direct link to Update your fans
Posting a message to your page wall will make your message appear in the Stream of every user who liked your page.
Virality is back (for external website that is, not Facebook applications)