Skip to content
colinraffel edited this page Jul 21, 2011 · 2 revisions

The Facebook plugin posts a customizable status update with a link and "likes" a specific page. The status can be set and adjusted, but always includes a link (to whatever location - probably the snowball installation's URL though). It requires a Facebook API app ID and secret. You also need to get the HTML for a "like box" (I don't think Facebook's API has a way to get the user to like a page automatically). Here's the configuration:

$facebookConfig['appID'] = '';
$facebookConfig['appSecret'] = '';
// The name of the page to be liked
$facebookConfig['pageName'] = "Google";
// The page's id
$facebookConfig['pageID'] = "104958162837";
// Default status update
$facebookConfig['defaultStatus'] = "I'm about to download something";
// What should the status update link to?
$facebookConfig['statusLink'] = "http://www.google.com";
// Source for the like box.  Get it here: http://developers.facebook.com/docs/reference/plugins/like-box/
$facebookConfig['likeboxSource'] = '';