You are here

public function FBAutopost::getSession in Facebook Autopost 7

Gets the session object for sugar syntax. Factory method.

Return value

FBSession

1 call to FBAutopost::getSession()
FBAutopost::publish in class/FBAutopost.php
Publishes content in the selected pages

File

class/FBAutopost.php, line 375

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

public function getSession() {
  return new FBSession();
}