This module makes it easy to add Open Graph meta tags ( 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 (


  • 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


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


For example:

<html xmlns:og="">

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:


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

Project Information