使用这些行
$url = 'https://api.twitter.com/1.1/statuses/retweeters/ids.json';
$getfield = '?id=1018992115810910208&stringify_ids=true';
$requestMethod = 'GET';
$twitter = new TwitterAPIExchange($settings);
$twitter->setGetfield($getfield)
->buildOauth($url, $requestMethod)
->performRequest();
向我显示了正确的结果(我正在使用potus帐户,因为那里有成千上万的转发...)。
我只是想知道为什么下一页没有设置cursor?您知道我在这里为什么或做错什么吗?为什么我的数组中只有94个结果,而不是最大100个?该推文当前显示超过12K转推?
["next_cursor"]=>
int(0)
["next_cursor_str"]=>
string(1) "0"
["previous_cursor"]=>
int(0)
["previous_cursor_str"]=>
string(1) "0"
看起来我不是唯一一个遇到此问题的人:https://twittercommunity.com/t/retweeters-ids-cursor-not-work/84019/11。但是,如果有人能提供解决方案,我会非常高兴!
感谢您的帮助!