$_endpoint
$_endpoint : string
Endpoint for status api requests
Horde_Service_Twitter_Statuses class for updating, retrieving user statuses.
Copyright 2009-2017 Horde LLC (http://www.horde.org/)
__construct(\Horde_Service_Twitter $twitter)
Constructor
\Horde_Service_Twitter |
destroy(string $id) : string
Destroy the specified status update, obviously only if the current user is the author of the update.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0destroy
string | $id | The status id |
friendsTimeline(array $params = array()) : string
Obtain the friendsTimeline.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-friends_timeline
NOTE: According to the API docs, this method is deprecated and will be going away in a future version of the API. This is to be replaced by home_timeline.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-home_timeline
array | $params | Parameters for the friends_timeline call since_id - Only tweets more recent the indicated tweet id max_id - Only tweets older then the indeicated tweet id count - Only return this many tweets (twitter limit = 200) page - The page number to return (note there are pagination limits) include_rts - Include retweets include_entities - Include twitter entities (will be mandatory in future twitter api release). |
homeTimeline(array $params = array()) : string
Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends. This is the equivalent of /timeline/home on the Web.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-home_timeline
array | $params | Parameters for the friends_timeline call since_id - Only tweets more recent the indicated tweet id max_id - Only tweets older then the indeicated tweet id count - Only return this many tweets (twitter limit = 200) page - The page number to return (note there are pagination limits) |
retweetedByMe(array $params = array()) : string
Returns the 20 most recent retweets posted by the authenticating user.
array | $params | Parameters for the friends_timeline call since_id - Only tweets more recent the indicated tweet id max_id - Only tweets older then the indeicated tweet id count - Only return this many tweets (twitter limit = 200) page - The page number to return (note there are pagination limits) |
retweetedToMe(array $params = array()) : string
Returns the 20 most recent retweets posted by the authenticating user's friends.
array | $params | Parameters for the friends_timeline call since_id - Only tweets more recent the indicated tweet id max_id - Only tweets older then the indeicated tweet id count - Only return this many tweets (twitter limit = 200) page - The page number to return (note there are pagination limits) |
retweetsOfMe(array $params = array()) : string
Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.
array | $params | Parameters for the friends_timeline call since_id - Only tweets more recent the indicated tweet id max_id - Only tweets older then the indeicated tweet id count - Only return this many tweets (twitter limit = 200) page - The page number to return (note there are pagination limits) |
userTimeline(array $params = array()) : string
Obtain the friendsTimeline.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_timeline
array | $params | Parameters for the friends_timeline call id - For this user id or screen name. Current user if left out. user_id - Specfies the ID of the user for whom to return the user_timeline. Helpful for disambiguating when a valid user ID is also a valid screen name. screen_id - Specfies the screen name of the user for whom to return the user_timeline. Helpful for disambiguating when a valid screen name is also a user ID. since_id - Only tweets more recent the indicated tweet id max_id - Only tweets older then the indeicated tweet id count - Only return this many tweets (twitter limit = 200) page - The page number to return (note there are pagination limits) |
mentions(array $params = array()) : string
Obtain most recent 'mentions' for the current user. (i.e. all messages that contain @username in the text).
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-mentions
array | $params | Parameters for the friends_timeline call since_id - Only tweets more recent the indicated tweet id max_id - Only tweets older then the indeicated tweet id count - Only return this many tweets (twitter limit = 200) page - The page number to return (note there are pagination limits) |
friends(array $params = array()) : \unknown_type
Returns a user's friends, each with current status inline. They are ordered by the order in which they were added as friends, 100 at a time.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0friends
array | $params | Parameters for the friends_timeline call id - For this user id or screen name. Current user if left out. user_id - Specfies the ID of the user for whom to return the user_timeline. Helpful for disambiguating when a valid user ID is also a valid screen name. screen_id - Specfies the screen name of the user for whom to return the user_timeline. Helpful for disambiguating when a valid screen name is also a user ID. page - The page number to return (note there are pagination limits) |
followers(array $params = array()) : \unknown_type
Returns a user's followers, each with current status inline. They are ordered by the order in which they were added as friends, 100 at a time.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0friends
array | $params | Parameters for the friends_timeline call id - For this user id or screen name. Current user if left out. user_id - Specfies the ID of the user for whom to return the user_timeline. Helpful for disambiguating when a valid user ID is also a valid screen name. screen_id - Specfies the screen name of the user for whom to return the user_timeline. Helpful for disambiguating when a valid screen name is also a user ID. page - The page number to return (note there are pagination limits) |