You are here

function fb_feed_load in Drupal for Facebook 5.2

File

./fb_feed.module, line 479
Helpers for Facebook feeds (http://wiki.developers.facebook.com/index.php/New_Design_Feed_Wall)

Code

function fb_feed_load($node) {
  $data = db_fetch_array(db_query('SELECT fb_app_nid, apikey, bundle_id, fb_feed_data FROM {fb_feed_template} WHERE nid=%d', $node->nid));
  $data['fb_feed_data'] = unserialize($data['fb_feed_data']);
  return $data;
}