You are here

function facebook_pull_render in Facebook Pull 7.2

Same name and namespace in other branches
  1. 6 facebook_pull.module \facebook_pull_render()
  2. 7.3 facebook_pull.module \facebook_pull_render()
  3. 7 facebook_pull.module \facebook_pull_render()

Serve up a facebook feed from the cache.

2 calls to facebook_pull_render()
facebook_pull_box::render in plugins/facebook_pull_box.inc
Implementation of boxes_content::options_form().
_facebook_pull_render_block in ./facebook_pull.module
Render a single block using the configured settings.

File

./facebook_pull.module, line 184
Default cache time.

Code

function facebook_pull_render($graph_id, $type, $app_id, $app_secret, $options = array()) {
  $data = _facebook_pull_feed_cached($graph_id, $type, $app_id, $app_secret, $options);
  if (!$data) {
    return '';
  }
  return theme('facebook_pull_feed', array(
    'items' => $data,
  ));
}