Свойство | Тип | Описание | |
---|---|---|---|
$_permissions | array | Local cache of requested permissions | |
$_users | array | Local cache of requested user information |
Метод | Описание | |
---|---|---|
getAppPermissions ( string $uid = null ) : array | Return the list of the current application permissions for the specified user. | |
getInfo ( $uid = null, array $fields = [] ) : object | Returns the requested info fields for the requested set of users. | |
getProfileLink ( string $uid ) : string | Return a URL to the facebook page of the requested user. | |
getThumbnail ( string $uid ) : string | Return a URL to the user's thumbnail image. |
public getAppPermissions ( string $uid = null ) : array | ||
$uid | string | The uid to request permissions for. If null, the currently authenticated user is used. |
Результат | array | An array of permissions where the keys are permission names and the values are '1' for yes or '0' for no. |
public getProfileLink ( string $uid ) : string | ||
$uid | string | The Facebook user id. |
Результат | string | The URL to the user's Facebook page. |
public getThumbnail ( string $uid ) : string | ||
$uid | string | The Facebook user id. |
Результат | string | The URL to the user's Facebook thumbnail. |
protected array $_permissions | ||
Результат | array |
protected array $_users | ||
Результат | array |