transist / echidna-spider

0 stars 0 forks source link

Handle list limitation of Tencent Weibo #33

Closed rainux closed 11 years ago

rainux commented 11 years ago

Tencent Weibo's list have a limitation of each list may only contain about 399 users. The limitation and the related error code/message didn't be documented.

Here is a sample response when list reached members limitation:

{"data"=>nil, "errcode"=>98, "msg"=>"list reach limit", "ret"=>5, "seqid"=>5862303327356024010}

Spider should handle this error and dynamically create another list to track more users. The tweets gathering part also need to gather tweets from all these managed lists.