Class Horde_Service_Facebook_Auth
Horde_Service_Facebook_Auth:: wrap functionality associated with authenticating to Facebook.
For now, only provide methods for authenticating that make sense from within a Horde context.
Copyright 2009-2012 Horde LLC (http://www.horde.org/)
- Horde_Service_Facebook_Base
- Horde_Service_Facebook_Auth
Package: Service\Facebook
Category: Horde
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at Horde/Service/Facebook/Auth.php
Category: Horde
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at Horde/Service/Facebook/Auth.php
public
string
|
#
getOAuthUrl( string $callback, array $perms = array() )
Get the URL for the user to authenticate the application and authorize various extender permissions/ |
public
string
|
#
getAuthTokenUrl( string $code, string $callback )
Returns the URL to obtain the auth_token from FB after getOAuthUrl redirects back to your callback URL. |
public
string
|
#
getSessionKey( string $code = null, string $callback = '' )
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. |
public
|
|
public
unknown_type
|
|
public
string
&
|
__construct()
|
string |
EXTEND_PERMS_USER_ABOUT
User Data Perms * |
#
'user_about_me'
|
string |
EXTEND_PERMS_USER_BIRTHDAY
|
#
'user_birthday'
|
string |
EXTEND_PERMS_USER_EVENTS
|
#
'user_events'
|
string |
EXTEND_PERMS_USER_HOMETOWN
|
#
'user_hometown'
|
string |
EXTEND_PERMS_USER_LOCATION
|
#
'user_location'
|
string |
EXTEND_PERMS_USER_PHOTOS
|
#
'user_photos'
|
string |
EXTEND_PERMS_FRIENDS_ABOUT
Friends Data * |
#
'friends_about_me'
|
string |
EXTEND_PERMS_FRIENDS_BIRTHDAY
|
#
'friends_birthday'
|
string |
EXTEND_PERMS_FRIENDS_HOMETOWN
|
#
'friends_hometown'
|
string |
EXTEND_PERMS_FRIENDS_LOCATION
|
#
'friends_location'
|
string |
EXTEND_PERMS_FRIENDS_PHOTOS
|
#
'friends_photos'
|
string |
EXTEND_PERMS_OFFLINE
Misc * |
#
'offline_access'
|
string |
EXTEND_PERMS_PUBLISHSTREAM
|
#
'publish_stream'
|
string |
EXTEND_PERMS_READSTREAM
|
#
'read_stream'
|