You are here

public function Twitter::friendships_incoming in Twitter 6.5

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

Returns a collection of numeric IDs for every user who has a pending request to follow the authenticating user.

Parameters

array $params: An array of parameters.

Return value

An array of numeric user IDs.

See also

https://dev.twitter.com/docs/api/1.1/get/friendships/incoming

File

./twitter.lib.php, line 723
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 friendships_incoming($params = array()) {
  return $this
    ->call('friendships/incoming', $params, 'GET');
}