|
| __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" |
См. определение в файле twitter.php строка 245
◆ __construct()
◆ BuildQuery()
◆ BuildSignature()
BuildSignature |
( |
| $sigString | ) |
|
|
protected |
◆ GetAccessToken()
◆ GetDefParams()
◆ GetRequestToken()
GetRequestToken |
( |
| $callback | ) |
|
◆ GetSignatureString()
GetSignatureString |
( |
| $arParams, |
|
|
| $url ) |
|
protected |
◆ getUserFriends()
getUserFriends |
( |
| $user_id, |
|
|
| $limit, |
|
|
& | $next ) |
◆ GetUserInfo()
◆ RedirectAuthUrl()
◆ SearchByHash()
SearchByHash |
( |
| $hash, |
|
|
| $socServUserArray, |
|
|
| $sinceId ) |
◆ sendMessage()
sendMessage |
( |
| $user_id, |
|
|
| $uid, |
|
|
| $message ) |
◆ SendTwit()
SendTwit |
( |
| $socServUserId, |
|
|
| $message, |
|
|
| $messageId ) |
◆ SetOauthKeys()
SetOauthKeys |
( |
| $socServUserId | ) |
|
◆ urlencode()
◆ $appID
◆ $appSecret
◆ $oauthArray
◆ $token
◆ $tokenSecret
◆ $tokenVerifier
◆ API_URL
const API_URL = "https://api.twitter.com/1.1/users/show.json" |
◆ AUTH_URL
const AUTH_URL = "https://api.twitter.com/oauth/authenticate" |
◆ FRIENDS_URL
const FRIENDS_URL = "https://api.twitter.com/1.1/friends/list.json" |
◆ MESSAGE_URL
const MESSAGE_URL = "https://api.twitter.com/1.1/direct_messages/new.json" |
◆ POST_URL
const POST_URL = "https://api.twitter.com/1.1/statuses/update.json" |
◆ REQUEST_URL
const REQUEST_URL = "https://api.twitter.com/oauth/request_token" |
◆ SEARCH_URL
const SEARCH_URL = "https://api.twitter.com/1.1/search/tweets.json" |
◆ TOKEN_URL
const TOKEN_URL = "https://api.twitter.com/oauth/access_token" |
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/socialservices/classes/general/twitter.php