twurl followers / ids.json总是回复我自己的粉丝

时间:2015-08-07 20:39:37

标签: json twitter

这是我的twurl命令:

twurl "cursor=-1&screen_name=FOREXcom&count=5000" /1.1/followers/ids.json

这个推特账号有70K粉丝。当我执行上述命令时,我会在列表中获得自己的1600多名粉丝。

该命令根据Twitter API指南制定: https://dev.twitter.com/rest/reference/get/followers/ids

我尝试使用和不使用游标,使用screen_name或user_id或两者。我也通过了count=1000。什么都行不通。我总是得到所有1600多名自己的粉丝。好像我根本没有传递任何论据。

任何人都可以在我的命令中看到任何错误吗?

1 个答案:

答案 0 :(得分:1)

我使用的格式是POST请求,当然还添加了-d开关。

GET请求应该在查询字符串中附加参数:

twurl "/1.1/followers/ids.json?cursor=-1&screen_name=FOREXcom&count=5000"

以上查询有效。