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
Afficher le fichier Open project: hybridauth/hybridauth Class Usage Examples

Méthodes publiques

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

Méthodes publiques

Méthode 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 méthode

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 méthode

public getUserContacts ( )

getUserProfile() public méthode

public getUserProfile ( )

initialize() public méthode

public initialize ( )

loginBegin() public méthode

public loginBegin ( )

loginFinish() public méthode

public loginFinish ( )

logout() public méthode

public logout ( )

Property Details

$api public_oe property

Provider API client
public Facebook,Facebook $api
Résultat Facebook\Facebook

$scope public_oe property

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

$useSafeUrls public_oe property

public $useSafeUrls