JTwitterStatuses::getMentions
Method to retrieve the most recent mentions for the authenticating user.
Signature
public function getMentions([integer
$count = 20,
[boolean
$include_rts = null,
[boolean
$entities = null,
[integer
$since_id = 0,
[integer
$max_id = 0,
[boolean
$trim_user = null,
[string
$contributor = null]]]]]]] )
Parameters
-
$count
- Specifies the number of tweets to try and retrieve, up to a maximum of 200. Retweets are always included
-
$include_rts
- When set to true, the timeline will contain native retweets in addition to the standard stream of tweets.
-
$entities
- When set to true, each tweet will include a node called "entities,". This node offers a variety of metadata
-
$since_id
- Returns results with an ID greater than (that is, more recent than) the specified ID.
-
$max_id
- Returns results with an ID less than (that is, older than) the specified ID.
-
$trim_user
- When set to true, each tweet returned in a timeline will include a user object including only
-
$contributor
- This parameter enhances the contributors element of the status response to include the screen_name
Returns
- array
- The decoded JSON response
Errors/Exceptions
-
RuntimeException