Tour

Facebook Social

If you have a website and want to add some social features, but do not want to maintain a full-fledged facebook application, then Facebook Social is for you.

This a relatively quick and easy way to add Like Buttons, Activity Feeds, Recommendations, and more to your website.

Drupal for Facebook takes care of loading and initializing facebooks javascript libraries. So as the site developer, you need only add simple XFBML tags to your markup. Here are a couple examples...

For the Like Button above, the markup is simply

<fb:like href="http://www.drupalforfacebook.org/">
</fb:like>
Next, an Activity Feed:

(The markup is

<fb:activity site="http://www.drupalforfacebook.org/">
</fb:activity>
)

Facebook Social features work without an application for you to maintain and for your users have to authorize. However, if you choose to have an application and users authorize it, you can learn about the users social graph and offer even more features, as we see next on the tour.

Click to continue the tour.