|
@@ 1021-1033 (lines=13) @@
|
| 1018 |
|
* @internal param $int [optional] $count Specifies the number of records to retrieve. May not be greater than 200. |
| 1019 |
|
* @internal param $int [optional] $page Specifies the page of results to retrieve. |
| 1020 |
|
*/ |
| 1021 |
|
public function statusesIdRetweetedBy($id, $count = null, $page = null) |
| 1022 |
|
{ |
| 1023 |
|
// validate |
| 1024 |
|
if ($count != null && $count > 200) throw new TwitterException('Count may not be greater than 200.'); |
| 1025 |
|
|
| 1026 |
|
// build parameters |
| 1027 |
|
$parameters = null; |
| 1028 |
|
if ($count != null) $parameters['count'] = (int)$count; |
| 1029 |
|
if ($page != null) $parameters['page'] = (int)$page; |
| 1030 |
|
|
| 1031 |
|
// make the call |
| 1032 |
|
return (array)$this->doCall('statuses/' . (string)$id . '/retweeted_by.json', $parameters, true); |
| 1033 |
|
} |
| 1034 |
|
|
| 1035 |
|
/** |
| 1036 |
|
* Show user ids of up to 100 users who retweeted the status. |
|
@@ 1047-1059 (lines=13) @@
|
| 1044 |
|
* @internal param $int [optional] $count Specifies the number of records to retrieve. May not be greater than 200. |
| 1045 |
|
* @internal param $int [optional] $page Specifies the page of results to retrieve. |
| 1046 |
|
*/ |
| 1047 |
|
public function statusesIdRetweetedByIds($id, $count = null, $page = null) |
| 1048 |
|
{ |
| 1049 |
|
// validate |
| 1050 |
|
if ($count != null && $count > 200) throw new TwitterException('Count may not be greater than 200.'); |
| 1051 |
|
|
| 1052 |
|
// build parameters |
| 1053 |
|
$parameters = null; |
| 1054 |
|
if ($count != null) $parameters['count'] = (int)$count; |
| 1055 |
|
if ($page != null) $parameters['page'] = (int)$page; |
| 1056 |
|
|
| 1057 |
|
// make the call |
| 1058 |
|
return (array)$this->doCall('statuses/' . (string)$id . '/retweeted_by/ids.json', $parameters, true); |
| 1059 |
|
} |
| 1060 |
|
|
| 1061 |
|
|
| 1062 |
|
// User resources |