-
Notifications
You must be signed in to change notification settings - Fork 0
class Twitter
www/includes/twitter-php/Twitter.php
Default
cacheDir() | cacheExpire() | httpOptions() |
API_URL() | ME() | ME_AND_FRIENDS() | REPLIES() | RETWEETS() |
__construct() | authenticate() | cachedRequest() | clickable() | destroy() | follow() | load() | loadUserFollowers() | loadUserFollowersList() | loadUserInfo() | loadUserInfoById() | request() | search() | send() | sendDirectMessage() |
API_URL = 'https://api.twitter.com/1.1/' :
www/includes/twitter-php/Twitter.php
ME = 1 :
www/includes/twitter-php/Twitter.php
ME_AND_FRIENDS = 2 :
www/includes/twitter-php/Twitter.php
REPLIES = 3 :
www/includes/twitter-php/Twitter.php
RETWEETS = 128 :
www/includes/twitter-php/Twitter.php
public
$cacheDir : string
Array
public
$cacheExpire : int
Array
private
$consumer : \Twitter_OAuthConsumer
Array
public
$httpOptions : array
Array
private
$token : \Twitter_OAuthConsumer
Array
Creates object using consumer and access keys.
- Inherited from \Twitter
public
__construct(mixed $consumerKey, mixed $consumerSecret, mixed $accessToken = null, mixed $accessTokenSecret = null) : mixed
Tests if user credentials are valid.
- Inherited from \Twitter
public
authenticate() : bool
Cached HTTP request.
- Inherited from \Twitter
public
cachedRequest(mixed $resource, array $data = null, mixed $cacheExpire = null) : \stdClass|\stdClass[]
Makes twitter links, @usernames and #hashtags clickable.
- Inherited from \Twitter
public
clickable(\stdClass $status) : string
static
Destroys status.
- Inherited from \Twitter
public
destroy(mixed $id) : mixed
Follows a user on Twitter.
- Inherited from \Twitter
public
follow(mixed $username) : \stdClass
Returns the most recent statuses.
- Inherited from \Twitter
public
load(mixed $flags = self::ME, mixed $count = 20, array $data = null) : \stdClass[]
Returns IDs of followers of a given user.
- Inherited from \Twitter
public
loadUserFollowers(mixed $username, mixed $count = 5000, mixed $cursor = -1, mixed $cacheExpiry = null) : \stdClass
Returns list of followers of a given user.
- Inherited from \Twitter
public
loadUserFollowersList(mixed $username, mixed $count = 200, mixed $cursor = -1, mixed $cacheExpiry = null) : \stdClass
Returns information of a given user.
- Inherited from \Twitter
public
loadUserInfo(mixed $username) : \stdClass
Returns information of a given user by id.
- Inherited from \Twitter
public
loadUserInfoById(mixed $id) : \stdClass
Process HTTP request.
- Inherited from \Twitter
public
request(mixed $resource, mixed $method, array $data = null, array $files = null) : \stdClass|\stdClass[]
Returns tweets that match a specified query.
- Inherited from \Twitter
public
search(mixed $query, mixed $full = false) : \stdClass
Sends message to the Twitter.
- Inherited from \Twitter
public
send(mixed $message, mixed $media = null, mixed $options = []) : \stdClass
Sends a direct message to the specified user.
- Inherited from \Twitter
public
sendDirectMessage(mixed $username, mixed $message) : \stdClass
\ » Classes » Twitter
Documentation generated on April 26th, 2020 at 15:54.
Powered by phpDocumentor with template GitHub-wiki.