Open Graph meta tags

Installs: 
5,169
Open Bugs: 
33
Development Status: 
Seeking co-maintainer(s)
Under active development

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.
Releases: 
7.x-1.3
6.x-1.7
7.x-1.x-dev
6.x-1.x-dev
Release Dates: 
05/19/2012
05/19/2012
10/01/2013
10/01/2013