Manages the connection with Twitter

author etessore
version 1.0.0
package classes

 Methods

Completely disables the connection with Twitter

disable() 
Static

Enables the connection with Twitter

enable(string $customer_key, string $customer_secret, string $token, string $token_secret) 
Static

You need to create a new app and authorize it from your twitter account

Parameters

$customer_key

string

Consumer key

$customer_secret

string

Consumer secret

$token

string

Access token

$token_secret

string

Access token secret

Shows the cached tweets

on_ajax_show_tweets() 

Updates the list of tweets

on_ajax_update_tweets() 
Static

 Properties

 

$actions : array
 

$connection : \TwitterOAuth
 

$oauth_key : string
 

$oauth_secret : string
 

$oauth_token : string
 

$oauth_token_secret : string
 

$transients : array