PPL

Twitter API only syncing 100 or fewer friends

Bug #688362 reported by Brad Phillips
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PPL
Fix Released
High
Christopher Adams

Bug Description

Requests to statuses/friends.xml is now only sending 100 friends, with no next_cursor. A workaround is to supply a count parameter in the request. (The json format is not affected by this issue). However, the twitter.php library does not support the count parameter for this call.

Revision history for this message
Christopher Adams (christopheradams) wrote :

In fact the count parameter was uncessary because the json response always returns it.

The actual problem was that the twitter.php library was always casting the cursor as an int!

The fix required reading 'next_cursor_str' from the Twitter response, and then modifying twitter.php to cast the $cursor variable as a (string).

Changed in ppl:
assignee: nobody → Christopher Adams (christopheradams)
importance: Undecided → High
milestone: 0.2 → 0.1
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.