You are here

private property FBAutopost::$publication_types in Facebook Autopost 7

Publication types as defined in Facebook documentation Contains the name of the publication and the endpoint keyed by the machine name of the publication.

See also

https://developers.facebook.com/docs/reference/api/page

File

class/FBAutopost.php, line 39

Class

FBAutopost
API class to handle common actions when autoposting This class uses FBAutopostException for error handling. Severity is passed resusing watchdog severity (See: http://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/watch...)

Code

private $publication_types = array(
  'event' => array(
    'name' => 'Event',
    'endpoint' => 'events',
  ),
  'link' => array(
    'name' => 'Links',
    'endpoint' => 'feed',
  ),
  'note' => array(
    'name' => 'Note',
    'endpoint' => 'notes',
  ),
  'photo' => array(
    'name' => 'Photo',
    'endpoint' => 'photos',
  ),
  'album' => array(
    'name' => 'Album',
    'endpoint' => 'albums',
  ),
  'post' => array(
    'name' => 'Post',
    'endpoint' => 'feed',
  ),
  'question' => array(
    'name' => 'Question',
    'endpoint' => 'questions',
  ),
  'milestone' => array(
    'name' => 'Milestone',
    'endpoint' => 'milestones',
  ),
  'offer' => array(
    'name' => 'Offer',
    'endpoint' => 'offers',
  ),
  'message' => array(
    'name' => 'Message',
    'endpoint' => 'conversations',
  ),
  'status' => array(
    'name' => 'Status',
    'endpoint' => 'feed',
  ),
  'video' => array(
    'name' => 'Video',
    'endpoint' => 'videos',
  ),
  'tab' => array(
    'name' => 'Tab',
    'endpoint' => 'tabs',
  ),
);