JTwitterFavorites::getFavorites
Method to get the most recent favorite statuses for the authenticating or specified user.
Signature
public function getFavorites([mixed
$user = null,
[integer
$count = 20,
[integer
$since_id = 0,
[integer
$max_id = 0,
[boolean
$entities = null]]]]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the screen name.
-
$count
- Specifies the number of tweets to try and retrieve, up to a maximum of 200. Retweets are always included
-
$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.
-
$entities
- When set to true, each tweet will include a node called "entities,". This node offers a variety
Returns
- array
- The decoded JSON response