Twitter API Favorites class for the Joomla Platform.
- Depuis
- 3.1.4
- Obsolète:
- 4.0 Use the
joomla/twitter
package via Composer instead
◆ createFavorites()
createFavorites |
( |
|
$id, |
|
|
|
$entities = null |
|
) |
| |
Method to favorite the status specified in the ID parameter as the authenticating user
- Paramètres
-
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. |
- Renvoie
- array The decoded JSON response
- Depuis
- 3.1.4
Références $data, $id, et $path.
◆ deleteFavorites()
deleteFavorites |
( |
|
$id, |
|
|
|
$entities = null |
|
) |
| |
Method to un-favorites the status specified in the ID parameter as the authenticating user.
- Paramètres
-
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. |
- Renvoie
- array The decoded JSON response
- Depuis
- 3.1.4
Références $data, $id, et $path.
◆ getFavorites()
getFavorites |
( |
|
$user = null , |
|
|
|
$count = 20 , |
|
|
|
$sinceId = 0 , |
|
|
|
$maxId = 0 , |
|
|
|
$entities = null |
|
) |
| |
Method to get the most recent favorite statuses for the authenticating or specified user.
- Paramètres
-
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 $includeRts to true |
integer | $sinceId | Returns results with an ID greater than (that is, more recent than) the specified ID. |
integer | $maxId | 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. |
- Renvoie
- array The decoded JSON response
- Depuis
- 3.1.4
Références $count, $data, $path, $user, et elseif.
La documentation de cette classe a été générée à partir du fichier suivant :