public function FeedsFacebookParser::getMappingSources in Feeds: Facebook parser 7
Same name and namespace in other branches
- 6 FeedsFacebookParser.inc \FeedsFacebookParser::getMappingSources()
File
- ./
FeedsFacebookParser.inc, line 52 - Facebook feeds parser class.
Class
- FeedsFacebookParser
- Class definition for Facebook Parser.
Code
public function getMappingSources() {
return parent::getMappingSources() + array(
'post_id' => array(
'name' => t('Post id'),
'description' => t('Facebook post id'),
),
'from_name' => array(
'name' => t('From: name'),
'description' => t(''),
),
'from_category' => array(
'name' => t('From: category'),
'description' => t(''),
),
'from_id' => array(
'name' => t('From: id'),
'description' => t(''),
),
'to_name' => array(
'name' => t('To: name'),
'description' => t(''),
),
'to_category' => array(
'name' => t('To: category'),
'description' => t(''),
),
'to_id' => array(
'name' => t('To: id'),
'description' => t(''),
),
'message' => array(
'name' => t('Message'),
'description' => t(''),
),
'picture' => array(
'name' => t('Picture'),
'description' => t('Picture or screenshot of the post'),
),
'name' => array(
'name' => t('Name'),
'description' => t('Post name, could be a file name'),
),
'link' => array(
'name' => t('Link'),
'description' => t(''),
),
'source' => array(
'name' => t('Source'),
'description' => t('Music file source'),
),
'description' => array(
'name' => t('Description'),
'description' => t(''),
),
'icon' => array(
'name' => t('Icon'),
'description' => t(''),
),
'type' => array(
'name' => t('Type'),
'description' => t('Type of post'),
),
'likes' => array(
'name' => t('Likes'),
'description' => t('Likes json encoded'),
),
'likes_count' => array(
'name' => t('Likes count'),
'description' => t('Number of likes'),
),
'comments' => array(
'name' => t('Comments'),
'description' => t('Comments json encoded'),
),
'comments_count' => array(
'name' => t('Comments count'),
'description' => t('Number of comments'),
),
'created_time' => array(
'name' => t('Created time'),
'description' => t('Date/time'),
),
'updated_time' => array(
'name' => t('Updated time'),
'description' => t('Date/time'),
),
);
}