1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CTwitterInterface

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

 __construct ($appID=false, $appSecret=false, $token=false, $tokenVerifier=false, $tokenSecret=false)
 GetRequestToken ($callback)
 RedirectAuthUrl ()
 GetAccessToken ()
 GetUserInfo ($user_id)
 getUserFriends ($user_id, $limit, &$next)
 sendMessage ($user_id, $uid, $message)
 SetOauthKeys ($socServUserId)
 SearchByHash ($hash, $socServUserArray, $sinceId)
 SendTwit ($socServUserId, $message, $messageId)

Поля данных

const REQUEST_URL = "https://api.twitter.com/oauth/request_token"
const AUTH_URL = "https://api.twitter.com/oauth/authenticate"
const TOKEN_URL = "https://api.twitter.com/oauth/access_token"
const API_URL = "https://api.twitter.com/1.1/users/show.json"
const POST_URL = "https://api.twitter.com/1.1/statuses/update.json"
const SEARCH_URL = "https://api.twitter.com/1.1/search/tweets.json"
const FRIENDS_URL = "https://api.twitter.com/1.1/friends/list.json"
const MESSAGE_URL = "https://api.twitter.com/1.1/direct_messages/new.json"

Защищенные члены

 GetDefParams ()
 urlencode ($mixParams)
 GetSignatureString ($arParams, $url)
 BuildQuery ($params)
 BuildSignature ($sigString)

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

 $appID
 $appSecret
 $token = false
 $tokenVerifier = false
 $tokenSecret = false
 $oauthArray

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

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

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

◆ __construct()

__construct ( $appID = false,
$appSecret = false,
$token = false,
$tokenVerifier = false,
$tokenSecret = false )

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

Методы

◆ BuildQuery()

BuildQuery ( $params)
protected

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

◆ BuildSignature()

BuildSignature ( $sigString)
protected

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

◆ GetAccessToken()

GetAccessToken ( )

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

◆ GetDefParams()

GetDefParams ( )
protected

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

◆ GetRequestToken()

GetRequestToken ( $callback)

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

◆ GetSignatureString()

GetSignatureString ( $arParams,
$url )
protected

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

◆ getUserFriends()

getUserFriends ( $user_id,
$limit,
& $next )

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

◆ GetUserInfo()

GetUserInfo ( $user_id)

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

◆ RedirectAuthUrl()

RedirectAuthUrl ( )

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

◆ SearchByHash()

SearchByHash ( $hash,
$socServUserArray,
$sinceId )

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

◆ sendMessage()

sendMessage ( $user_id,
$uid,
$message )

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

◆ SendTwit()

SendTwit ( $socServUserId,
$message,
$messageId )

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

◆ SetOauthKeys()

SetOauthKeys ( $socServUserId)

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

◆ urlencode()

urlencode ( $mixParams)
protected

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

Поля

◆ $appID

$appID
protected

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

◆ $appSecret

$appSecret
protected

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

◆ $oauthArray

$oauthArray
protected

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

◆ $token

$token = false
protected

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

◆ $tokenSecret

$tokenSecret = false
protected

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

◆ $tokenVerifier

$tokenVerifier = false
protected

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

◆ API_URL

const API_URL = "https://api.twitter.com/1.1/users/show.json"

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

◆ AUTH_URL

const AUTH_URL = "https://api.twitter.com/oauth/authenticate"

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

◆ FRIENDS_URL

const FRIENDS_URL = "https://api.twitter.com/1.1/friends/list.json"

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

◆ MESSAGE_URL

const MESSAGE_URL = "https://api.twitter.com/1.1/direct_messages/new.json"

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

◆ POST_URL

const POST_URL = "https://api.twitter.com/1.1/statuses/update.json"

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

◆ REQUEST_URL

const REQUEST_URL = "https://api.twitter.com/oauth/request_token"

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

◆ SEARCH_URL

const SEARCH_URL = "https://api.twitter.com/1.1/search/tweets.json"

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

◆ TOKEN_URL

const TOKEN_URL = "https://api.twitter.com/oauth/access_token"

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


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