O'Reilly logo

Drupal 7 Social Networking by Michael Peacock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Leverage other features

Established social networks such as Facebook and Twitter provide additional nuggets of social interaction which we can integrate on our own site, including:

  • Like this page on Facebook
  • Tweet this page on Twitter
  • Find us on Facebook
  • Embedding our latest tweets

Let's look at how we can integrate these into our site.

Like this on Facebook

Many websites now display a link to allow users to indicate that they like a particular page and notify their friends on Facebook of this page. This feature also indicates the total number of users who like the page, and if any of those are the user's friends, it will display their names and / or photographs.

Enabling PHP in content blocks

We will embed the Facebook like button in the Drupal footer; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required