Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Drupal module which adds Open Graph meta tags to node pages for better social network sharing (e.g.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Open Graph meta tags

1. Introduction

This is a module which 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 (

This module makes it easy to 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).

If need be, meta tags can be restricted to specific content types and access to administering and editing meta tags can be restricted by role using Drupal's built-in permissions system.

The latest code for this module is always available at

2. Installation

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


For example:

<html xmlns:og="">
Something went wrong with that request. Please try again.