Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
getFavorites ($user=null, $count=20, $since_id=0, $max_id=0, $entities=null) | |
createFavorites ($id, $entities=null) | |
deleteFavorites ($id, $entities=null) | |
Fonctions membres publiques inherited from JTwitterObject | |
__construct (JRegistry &$options=null, JHttp $client=null, JTwitterOAuth $oauth=null) | |
checkRateLimit ($resource=null, $action=null) | |
fetchUrl ($path, $parameters=null) | |
getRateLimit ($resource) | |
sendRequest ($path, $method= 'GET', $data=array(), $headers=array()) | |
getOption ($key) | |
setOption ($key, $value) |
Additional Inherited Members | |
Attributs protégés inherited from JTwitterObject | |
$options | |
$client | |
$oauth |
Définition à la ligne 19 du fichier favorites.php.
JTwitterFavorites::createFavorites | ( | $id, | |
$entities = null |
|||
) |
Method to favorite the status specified in the ID parameter as the authenticating user
integer | $id | The numerical ID of the desired status. |
boolean | $entities | When set to true, each tweet will include a node called "entities,". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. |
Définition à la ligne 90 du fichier favorites.php.
JTwitterFavorites::deleteFavorites | ( | $id, | |
$entities = null |
|||
) |
Method to un-favorites the status specified in the ID parameter as the authenticating user.
integer | $id | The numerical ID of the desired status. |
boolean | $entities | When set to true, each tweet will include a node called "entities,". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. |
Définition à la ligne 118 du fichier favorites.php.
JTwitterFavorites::getFavorites | ( | $user = null , |
|
$count = 20 , |
|||
$since_id = 0 , |
|||
$max_id = 0 , |
|||
$entities = null |
|||
) |
Method to get the most recent favorite statuses for the authenticating or specified user.
mixed | $user | Either an integer containing the user ID or a string containing the screen name. |
integer | $count | Specifies the number of tweets to try and retrieve, up to a maximum of 200. Retweets are always included in the count, so it is always suggested to set $include_rts to true |
integer | $since_id | Returns results with an ID greater than (that is, more recent than) the specified ID. |
integer | $max_id | Returns results with an ID less than (that is, older than) the specified ID. |
boolean | $entities | When set to true, each tweet will include a node called "entities,". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags. |
Définition à la ligne 36 du fichier favorites.php.