메소드 |
설명 |
|
getAuthTokenUrl ( string $code, string $callback ) : string |
Returns the URL to obtain the auth_token from FB after getOAuthUrl
redirects back to your callback URL. |
|
getLoggedInUser ( ) : string |
Returns the user corresponding to the current session object. |
|
getOAuthUrl ( string $callback, array $perms = [], string $state = null ) : string |
Get the URL for the user to authenticate the application and authorize
various extender permissions/ |
|
getSessionKey ( string $code = null, string $callback = '' ) : string |
Obtain the current access_token. Either returns the currently set token
or, if a OAuth2 code is provided, sends a GET request to FB requesting
the access_token. |
|
revokeExtendedPermission ( string $perm ) : unknown_type |
Revoke a previously authorizied extended permission |
|
setSession ( string $sessionKey ) |
Sets an existing access_token for this session. |
|