JTwitterStatuses::getTweetById
Method to get a single tweet with the given ID.
Signature
public function getTweetById(integer
$id,
[boolean
$trim_user = null,
[boolean
$entities = null,
[boolean
$my_retweet = null]]] )
Parameters
-
$id
- The ID of the tweet to retrieve.
-
$trim_user
- When set to true, each tweet returned in a timeline will include a user object including only
-
$entities
- When set to true, each tweet will include a node called "entities,". This node offers a variety of metadata
-
$my_retweet
- When set to either true, t or 1, any statuses returned that have been retweeted by the authenticating user will
Returns
- array
- The decoded JSON response