PHP Class Hybrid_Providers_Facebook

Hybrid_Providers_Facebook use the Facebook PHP SDK created by Facebook http://hybridauth.sourceforge.net/userguide/IDProvider_info_Facebook.html
Inheritance: extends Hybrid_Provider_Model
Mostra file Open project: hybridauth/hybridauth Class Usage Examples

Public Properties

Property Type Description
$api Facebook\Facebook Provider API client
$scope array For a complete list see: https://developers.facebook.com/docs/facebook-login/permissions
$useSafeUrls

Public Methods

Method Description
getUserActivity ( string $stream = 'timeline' ) Load the user latest activity, needs 'read_stream' permission
getUserContacts ( ) Since the Graph API 2.0, the /friends endpoint only returns friend that also use your Facebook app.
getUserProfile ( )
initialize ( )
loginBegin ( )
loginFinish ( )
logout ( )

Method Details

getUserActivity() public method

Load the user latest activity, needs 'read_stream' permission
public getUserActivity ( string $stream = 'timeline' )
$stream string Which activity to fetch: - timeline : all the stream - me : the user activity only {@inheritdoc}

getUserContacts() public method

public getUserContacts ( )

getUserProfile() public method

public getUserProfile ( )

initialize() public method

public initialize ( )

loginBegin() public method

public loginBegin ( )

loginFinish() public method

public loginFinish ( )

logout() public method

public logout ( )

Property Details

$api public_oe property

Provider API client
public Facebook,Facebook $api
return Facebook\Facebook

$scope public_oe property

For a complete list see: https://developers.facebook.com/docs/facebook-login/permissions
public array $scope
return array

$useSafeUrls public_oe property

public $useSafeUrls