You are here

public function Twitter::mentions_timeline in Twitter 7.5

Same name and namespace in other branches
  1. 6.5 twitter.lib.php \Twitter::mentions_timeline()
  2. 7.6 twitter.lib.php \Twitter::mentions_timeline()

Returns the 20 most recent mentions (tweets containing a users's @screen_name).

Parameters

array $params: an array of parameters.

See also

https://dev.twitter.com/docs/api/1.1/get/statuses/mentions_timeline

File

./twitter.lib.php, line 299
Integration layer to communicate with the Twitter REST API 1.1. https://dev.twitter.com/docs/api/1.1

Class

Twitter
Primary Twitter API implementation class

Code

public function mentions_timeline($params = array()) {
  return $this
    ->get_statuses('statuses/mentions_timeline', $params);
}