This module makes it easy to add Open Graph meta tags (http://opengraphprotocol.org/) to a node to enable it to be come a "rich" social object. For instance, Facebook uses this information to work out how to preview shared content in a user's Facebook profile (http://developers.facebook.com/docs/share).

Features

  • Easily select the image thumbnail used to represent the node (used by Facebook when constructing a preview). The editor is shown a list of thumbnails of all images associated with the node (both as fields as well as images embedded within the node's body content).
  • Set default values for OG meta tags across all nodes and then override them on a node-by-node basis.
  • Restrict the use of OG meta tags to specific content types.
  • Restrict access to administering the module to specific roles

Installation

Add the following XML namespace attribute to the HTML tag at the top of your page.tpl.php file:

xmlns:og="http://opengraphprotocol.org/schema/"

For example:

<html xmlns:og="http://opengraphprotocol.org/schema/">
...
</html>

Note that this module does not output the fb:admins or fb:app_id tags which are required for integrating with Facebook. There are other modules which will help you with these tags:

Alternatives

  • Metatags - Drupal 7 module which aims to do what this module does and more.

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • caution No further development
    No longer developed by its maintainers.
  • chart icon1,672 sites report using this module
  • Created by hiddentao on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases