Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module integrates with Facebook's Social Graph to track the number of shares for each node page. This is a scalable way to determine popularity of content on a site that handles too much traffic to leverage Drupal's core access statistics, or a on a site that leverages external cache layers.

Features:

  • Queries the Social Graph only on node view, so that unviewed nodes don't add to the Social Graph activity. (And if they're not viewed, they're probably not being shared on Facebook.)
  • Views integration: can sort any node View by "number of Facebook shares".
  • Control frequency of queries via a TTL so that, for instance, Drupal will query the Social Graph a maximum of once every four hours.
  • Override the base URL that Drupal uses to query the Social Graph, so that you can test on a staging server (where you have no Facebook Shares) using production URLs (where you do).
  • Disable Social Graph queries without disabling the module, so that you can stop queries and still retain current data.

Project information

  • Created by mshmsh5000 on , updated