You are here

function fb_feed_action_publish_submit in Drupal for Facebook 5.2

File

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

Code

function fb_feed_action_publish_submit($form_id, $values) {
  $items = array();
  foreach (array(
    'fb_feed_template_nid',
    'token_enable',
  ) as $key) {
    $items[$key] = $values[$key];
  }
  return $items;
}