1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CFacebookInterface
Граф наследования:CFacebookInterface:
CSocServOAuthTransport

Открытые члены

 __construct ($appID=false, $appSecret=false, $code=false)
 GetRedirectURI ()
 GetAuthUrl ($redirect_uri, $state='')
 getResult ()
 GetAccessToken ($redirect_uri)
 GetCurrentUser ()
 GetAppInfo ()
 GetCurrentUserFriends ($limit, &$next)
 SendFeed ($socServUserId, $message, $messageId)
 sendMessage ($uid, $message)
 getMessages ($uid)
Открытые члены унаследованные от CSocServOAuthTransport
 getAppID ()
 getAppSecret ()
 getAccessTokenExpires ()
 setAccessTokenExpires ($accessTokenExpires)
 getToken ()
 setToken ($access_token)
 setRefreshToken ($refresh_token)
 getRefreshToken ()
 removeScope (string $scope)
 addScope ($scope)
 setScope ($scope)
 getScope ()
 getScopeEncode ()
 setCode ($code)
 setUser ($userId)
 deleteStorageTokens ()
 checkAccessToken ()

Поля данных

const SERVICE_ID = "Facebook"
const AUTH_URL = "https://www.facebook.com/dialog/oauth"
const GRAPH_URL = "https://graph.facebook.com"
Поля данных унаследованные от CSocServOAuthTransport
const SERVICE_ID = "generic"

Защищенные данные

 $userId = false
 $responseData = array()
 $scope
Защищенные данные унаследованные от CSocServOAuthTransport
 $appID
 $appSecret
 $code = false
 $access_token = false
 $accessTokenExpires = 0
 $refresh_token = ''
 $scope = array()
 $userId

Дополнительные унаследованные члены

Защищенные члены унаследованные от CSocServOAuthTransport
 getStorageTokens ()
 getDecodedJson ($url, $postData=null)

Подробное описание

См. определение в файле facebook.php строка 359

Конструктор(ы)

◆ __construct()

__construct ( $appID = false,
$appSecret = false,
$code = false )

Переопределяет метод предка CSocServOAuthTransport.

См. определение в файле facebook.php строка 373

Методы

◆ GetAccessToken()

GetAccessToken ( $redirect_uri)

См. определение в файле facebook.php строка 412

◆ GetAppInfo()

GetAppInfo ( )

См. определение в файле facebook.php строка 482

◆ GetAuthUrl()

GetAuthUrl ( $redirect_uri,
$state = '' )

См. определение в файле facebook.php строка 393

◆ GetCurrentUser()

GetCurrentUser ( )

См. определение в файле facebook.php строка 469

◆ GetCurrentUserFriends()

GetCurrentUserFriends ( $limit,
& $next )

См. определение в файле facebook.php строка 501

◆ getMessages()

getMessages ( $uid)

См. определение в файле facebook.php строка 574

◆ GetRedirectURI()

GetRedirectURI ( )

См. определение в файле facebook.php строка 388

◆ getResult()

getResult ( )

Переопределяет метод предка CSocServOAuthTransport.

См. определение в файле facebook.php строка 407

◆ SendFeed()

SendFeed ( $socServUserId,
$message,
$messageId )

См. определение в файле facebook.php строка 539

◆ sendMessage()

sendMessage ( $uid,
$message )

См. определение в файле facebook.php строка 561

Поля

◆ $responseData

$responseData = array()
protected

См. определение в файле facebook.php строка 367

◆ $scope

$scope
protected
Инициализатор
"email",
)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804

См. определение в файле facebook.php строка 369

◆ $userId

$userId = false
protected

См. определение в файле facebook.php строка 366

◆ AUTH_URL

const AUTH_URL = "https://www.facebook.com/dialog/oauth"

См. определение в файле facebook.php строка 363

◆ GRAPH_URL

const GRAPH_URL = "https://graph.facebook.com"

См. определение в файле facebook.php строка 364

◆ SERVICE_ID

const SERVICE_ID = "Facebook"

См. определение в файле facebook.php строка 361


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/socialservices/classes/general/facebook.php