[twitter-dev] Re: Mad about lists and cursors... please help
I am working on twitter lists and having abit different issue. I have 3 pages in my list, when I go to page 2 from page 1, everything goes fine. Then I go to page 3 from Page 2, fine. Now when I go to back 2 from Page 3, I just get next cursor to go to page 3, but I do not get the cursor to go on page 1. So please look into this matter. On Apr 23, 8:23 am, Mark McBride wrote: > This issue has been fixed. Let me know if it recurs, and I sincerely > apologize for the delay > > Sent from mobile device > > On Apr 22, 2010, at 9:33 AM, Mark McBride wrote: > > > Please stop bumping this thread. We're aware of the issue and its > > criticality, and are getting a fix out as soon as possible. > > > ---Mark > > >http://twitter.com/mccv > > > On Thu, Apr 22, 2010 at 3:30 AM, fdelpozo wrote: > >> Please fix this issue soon, We need it. > > >> On 20 abr, 17:16, Mark McBride wrote: > >>> It hasn't been deployed as far as I know, but it should be out this > >>> week. > > >>> Sent from mobile device > > >>> On Apr 20, 2010, at 4:38 AM, Zach wrote: > > I don't know if this fix for next_cursor always being zero has been > deployed or not, but I'm still seeing this bug. A fix for this > would > be really awesome. > > On Apr 17, 12:04 pm, Mark McBride wrote: > > Yes. A fix has been identified, and should be deployed in a few > > days > > > Sent from mobile device > > > On Apr 17, 2010, at 7:08 AM, Zach wrote: > > >> It's 10 days later and next_cursor on > >>http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-member > >> ... > >> is still always 0, even when the user is being followed by far > >> more > >> than 20lists. This is completely broken and prevents 3rd party > >> apps > >> from discovering allliststhat follow a given user. > > >> Has anyone at Twitter even looked into this? > > >> On Apr 7, 3:43 pm, Mark McBride wrote: > >>> Eugene, we're aware of the issue and will take a look at it > >>> today. > > >>> ---Mark > > >>>http://twitter.com/mccv > > >>> On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < > > >>> eugene.man...@gmail.com> wrote: > I posted this issue to @twitterapi twice, but they ignored it. > > Dear API group, please address this question. > > Thank you! > > On Apr 6, 9:45 am, Spraycode wrote: > > Has anyone been able to solve this issue? This is still > > crippling us. > > > Thanks! > > > On Apr 2, 5:25 am, luisfigo wrote: > > >> Having the same problem... > > >> Triedhttp://api.twitter.com/1/avinashkaushik/lists/ > >> memberships.xml > >> and get 0 forcursor. This guy is followed by ton oflistsin > >> fact > > >> Below is the snapshot of the end result I got... This is > >> screwing up > >> our app right now... > > >> . > >> > http://a1.twimg.com/profile_background_images/79104366/twitter_backgr > ... > >> > >> false > >> false > >> false > >> false > >> false > >> 3208 > >> en > >> false > >> > >> > >> > >> 0 > >> 0 > >> > > >> On Apr 1, 6:00 pm, Diego Rin Martin > >> wrote: > > >>> I think it's a API bug, even in the twitter page the > >>> paginator > doesn't work > >>> as expected, sometimes > >>> appears, sometines not, and when appears it makes in a > >>> random > >>> manner. > > >>> i'm gettingcursor0 from API, using int or string > >>> representation, > the bug > >>> is in the API that sends > >>> thecursor0 randomly. > > >>> regards, diego. > > >>> On Thu, Apr 1, 2010 at 2:38 AM, jmathai > >>> wrote: > Are you sure you're using the string representation of the > cursor > instead of the int? The API'scursorexceeds PHP's max > integer > value > (generally). > > jmathai ~ $ php -r '$x = > json_decode > (1); > echo $x; echo "\n"; > > var_dump > ($x===1); > var_dump($x===1.111E+52);' > 1.111E+52 > bool(false) > bool(true) > > jmathai ~ $ php -r '$x = > 1; echo > $x; > echo > "\n"; > > var_dump > ($x===1); > var_dump($x===1.111E+52);' > >>
Re: [twitter-dev] Re: Mad about lists and cursors... please help
This issue has been fixed. Let me know if it recurs, and I sincerely apologize for the delay Sent from mobile device On Apr 22, 2010, at 9:33 AM, Mark McBride wrote: Please stop bumping this thread. We're aware of the issue and its criticality, and are getting a fix out as soon as possible. ---Mark http://twitter.com/mccv On Thu, Apr 22, 2010 at 3:30 AM, fdelpozo wrote: Please fix this issue soon, We need it. On 20 abr, 17:16, Mark McBride wrote: It hasn't been deployed as far as I know, but it should be out this week. Sent from mobile device On Apr 20, 2010, at 4:38 AM, Zach wrote: I don't know if this fix for next_cursor always being zero has been deployed or not, but I'm still seeing this bug. A fix for this would be really awesome. On Apr 17, 12:04 pm, Mark McBride wrote: Yes. A fix has been identified, and should be deployed in a few days Sent from mobile device On Apr 17, 2010, at 7:08 AM, Zach wrote: It's 10 days later and next_cursor on http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-member ... is still always 0, even when the user is being followed by far more than 20lists. This is completely broken and prevents 3rd party apps from discovering allliststhat follow a given user. Has anyone at Twitter even looked into this? On Apr 7, 3:43 pm, Mark McBride wrote: Eugene, we're aware of the issue and will take a look at it today. ---Mark http://twitter.com/mccv On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < eugene.man...@gmail.com> wrote: I posted this issue to @twitterapi twice, but they ignored it. Dear API group, please address this question. Thank you! On Apr 6, 9:45 am, Spraycode wrote: Has anyone been able to solve this issue? This is still crippling us. Thanks! On Apr 2, 5:25 am, luisfigo wrote: Having the same problem... Triedhttp://api.twitter.com/1/avinashkaushik/lists/ memberships.xml and get 0 forcursor. This guy is followed by ton oflistsin fact Below is the snapshot of the end result I got... This is screwing up our app right now... . http://a1.twimg.com/profile_background_images/79104366/twitter_backgr ... false false false false false 3208 en false 0 0 On Apr 1, 6:00 pm, Diego Rin Martin wrote: I think it's a API bug, even in the twitter page the paginator doesn't work as expected, sometimes appears, sometines not, and when appears it makes in a random manner. i'm gettingcursor0 from API, using int or string representation, the bug is in the API that sends thecursor0 randomly. regards, diego. On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: Are you sure you're using the string representation of the cursor instead of the int? The API'scursorexceeds PHP's max integer value (generally). jmathai ~ $ php -r '$x = json_decode (1); echo $x; echo "\n"; var_dump ($x===1); var_dump($x===1.111E+52);' 1.111E+52 bool(false) bool(true) jmathai ~ $ php -r '$x = 1; echo $x; echo "\n"; var_dump ($x===1); var_dump($x===1.111E+52);' 1.111E+52 bool(true) bool(false) On Mar 31, 2:03 am, Diego Rin Martín wrote: Hi there, this is my first post to this group, i'm a spanish developer dealing with twitter api surprises, excuse my poor english, i'will do my best to comunicate nicest. So, to the problem, I'm trying to retrieve thelistsfor a user, via list/membershipsget method, and passingcursoras parameter, I'm having got random results, I explain myself, sometimes I made a request (for user edans, that have a huge amount of pages to paginate) and I get one page, I passcursor-1 and I getcursor0, sometimes I get one page, I passcursor-1 i getcursor 1331431515904087602, then I pass it and I get 0, sometimes I get a random number of pages, but never, never, be able to retrieve the total amount of pages. I use php twitter-async classes to comunicate with API, I thought that it could be the cause of the problem, but using direct curl (via php5- curl extension) calls I'm having the same issues. Same using json or xml. I'm always getting 200 responses, so the call finish in a correct way. any clue? I'm turning mad. Thanks in advance. diego. -- To unsubscribe, reply using "remove me" as the subject.
Re: [twitter-dev] Re: Mad about lists and cursors... please help
Please stop bumping this thread. We're aware of the issue and its criticality, and are getting a fix out as soon as possible. ---Mark http://twitter.com/mccv On Thu, Apr 22, 2010 at 3:30 AM, fdelpozo wrote: > Please fix this issue soon, We need it. > > On 20 abr, 17:16, Mark McBride wrote: >> It hasn't been deployed as far as I know, but it should be out this >> week. >> >> Sent from mobile device >> >> On Apr 20, 2010, at 4:38 AM, Zach wrote: >> >> > I don't know if this fix for next_cursor always being zero has been >> > deployed or not, but I'm still seeing this bug. A fix for this would >> > be really awesome. >> >> > On Apr 17, 12:04 pm, Mark McBride wrote: >> >> Yes. A fix has been identified, and should be deployed in a few days >> >> >> Sent from mobile device >> >> >> On Apr 17, 2010, at 7:08 AM, Zach wrote: >> >> >>> It's 10 days later and next_cursor on >> >>>http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-member >> >>> ... >> >>> is still always 0, even when the user is being followed by far more >> >>> than 20lists. This is completely broken and prevents 3rd party >> >>> apps >> >>> from discovering allliststhat follow a given user. >> >> >>> Has anyone at Twitter even looked into this? >> >> >>> On Apr 7, 3:43 pm, Mark McBride wrote: >> Eugene, we're aware of the issue and will take a look at it today. >> >> ---Mark >> >> http://twitter.com/mccv >> >> On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < >> >> eugene.man...@gmail.com> wrote: >> > I posted this issue to @twitterapi twice, but they ignored it. >> >> > Dear API group, please address this question. >> >> > Thank you! >> >> > On Apr 6, 9:45 am, Spraycode wrote: >> >> Has anyone been able to solve this issue? This is still >> >> crippling us. >> >> >> Thanks! >> >> >> On Apr 2, 5:25 am, luisfigo wrote: >> >> >>> Having the same problem... >> >> >>> Triedhttp://api.twitter.com/1/avinashkaushik/lists/ >> >>> memberships.xml >> >>> and get 0 forcursor. This guy is followed by ton oflistsin >> >>> fact >> >> >>> Below is the snapshot of the end result I got... This is >> >>> screwing up >> >>> our app right now... >> >> >>> . >> >>> >> >http://a1.twimg.com/profile_background_images/79104366/twitter_backgr >> > ... >> >>> >> >>> false >> >>> false >> >>> false >> >>> false >> >>> false >> >>> 3208 >> >>> en >> >>> false >> >>> >> >>> >> >>> >> >>> 0 >> >>> 0 >> >>> >> >> >>> On Apr 1, 6:00 pm, Diego Rin Martin wrote: >> >> I think it's a API bug, even in the twitter page the paginator >> > doesn't work >> as expected, sometimes >> appears, sometines not, and when appears it makes in a random >> manner. >> >> i'm gettingcursor0 from API, using int or string >> representation, >> > the bug >> is in the API that sends >> thecursor0 randomly. >> >> regards, diego. >> >> On Thu, Apr 1, 2010 at 2:38 AM, jmathai >> wrote: >> > Are you sure you're using the string representation of the >> > cursor >> > instead of the int? The API'scursorexceeds PHP's max integer >> > value >> > (generally). >> >> > jmathai ~ $ php -r '$x = >> > json_decode >> > (1); >> > echo $x; echo "\n"; >> >> > var_dump >> > ($x===1); >> > var_dump($x===1.111E+52);' >> > 1.111E+52 >> > bool(false) >> > bool(true) >> >> > jmathai ~ $ php -r '$x = >> > 1; echo >> > $x; >> > echo >> > "\n"; >> >> > var_dump >> > ($x===1); >> > var_dump($x===1.111E+52);' >> > 1.111E+52 >> > bool(true) >> > bool(false) >> >> > On Mar 31, 2:03 am, Diego Rin Martín > > m> wrote: >> >> Hi there, >> >> >> this is my first post to this group, i'm a spanish developer >> > dealing >> >> with twitter api surprises, excuse my poor english, i'will do >> >> my >> > best >> >> to comunicate nicest. >> >> >> So, to the problem, I'm trying to retrieve thelistsfor a >> >> user, >> > via >> >> list/membershipsget method, and passingcursoras parameter, >> >> I'm >> >> having got random results, I explain myself, sometimes I >> >> made a >> >> request (for user edans, that have a huge amount of pages to >> > paginate) >> >> and I get one page, I passcursor-1 and I getcursor0, >> >
[twitter-dev] Re: Mad about lists and cursors... please help
Please fix this issue soon, We need it. On 20 abr, 17:16, Mark McBride wrote: > It hasn't been deployed as far as I know, but it should be out this > week. > > Sent from mobile device > > On Apr 20, 2010, at 4:38 AM, Zach wrote: > > > I don't know if this fix for next_cursor always being zero has been > > deployed or not, but I'm still seeing this bug. A fix for this would > > be really awesome. > > > On Apr 17, 12:04 pm, Mark McBride wrote: > >> Yes. A fix has been identified, and should be deployed in a few days > > >> Sent from mobile device > > >> On Apr 17, 2010, at 7:08 AM, Zach wrote: > > >>> It's 10 days later and next_cursor on > >>>http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-member > >>> ... > >>> is still always 0, even when the user is being followed by far more > >>> than 20lists. This is completely broken and prevents 3rd party > >>> apps > >>> from discovering allliststhat follow a given user. > > >>> Has anyone at Twitter even looked into this? > > >>> On Apr 7, 3:43 pm, Mark McBride wrote: > Eugene, we're aware of the issue and will take a look at it today. > > ---Mark > > http://twitter.com/mccv > > On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < > > eugene.man...@gmail.com> wrote: > > I posted this issue to @twitterapi twice, but they ignored it. > > > Dear API group, please address this question. > > > Thank you! > > > On Apr 6, 9:45 am, Spraycode wrote: > >> Has anyone been able to solve this issue? This is still > >> crippling us. > > >> Thanks! > > >> On Apr 2, 5:25 am, luisfigo wrote: > > >>> Having the same problem... > > >>> Triedhttp://api.twitter.com/1/avinashkaushik/lists/ > >>> memberships.xml > >>> and get 0 forcursor. This guy is followed by ton oflistsin > >>> fact > > >>> Below is the snapshot of the end result I got... This is > >>> screwing up > >>> our app right now... > > >>> . > >>> > >http://a1.twimg.com/profile_background_images/79104366/twitter_backgr > > ... > >>> > >>> false > >>> false > >>> false > >>> false > >>> false > >>> 3208 > >>> en > >>> false > >>> > >>> > >>> > >>> 0 > >>> 0 > >>> > > >>> On Apr 1, 6:00 pm, Diego Rin Martin wrote: > > I think it's a API bug, even in the twitter page the paginator > > doesn't work > as expected, sometimes > appears, sometines not, and when appears it makes in a random > manner. > > i'm gettingcursor0 from API, using int or string > representation, > > the bug > is in the API that sends > thecursor0 randomly. > > regards, diego. > > On Thu, Apr 1, 2010 at 2:38 AM, jmathai > wrote: > > Are you sure you're using the string representation of the > > cursor > > instead of the int? The API'scursorexceeds PHP's max integer > > value > > (generally). > > > jmathai ~ $ php -r '$x = > > json_decode > > (1); > > echo $x; echo "\n"; > > > var_dump > > ($x===1); > > var_dump($x===1.111E+52);' > > 1.111E+52 > > bool(false) > > bool(true) > > > jmathai ~ $ php -r '$x = > > 1; echo > > $x; > > echo > > "\n"; > > > var_dump > > ($x===1); > > var_dump($x===1.111E+52);' > > 1.111E+52 > > bool(true) > > bool(false) > > > On Mar 31, 2:03 am, Diego Rin Martín > m> wrote: > >> Hi there, > > >> this is my first post to this group, i'm a spanish developer > > dealing > >> with twitter api surprises, excuse my poor english, i'will do > >> my > > best > >> to comunicate nicest. > > >> So, to the problem, I'm trying to retrieve thelistsfor a > >> user, > > via > >> list/membershipsget method, and passingcursoras parameter, > >> I'm > >> having got random results, I explain myself, sometimes I > >> made a > >> request (for user edans, that have a huge amount of pages to > > paginate) > >> and I get one page, I passcursor-1 and I getcursor0, > > sometimes I > >> get one page, I passcursor-1 i getcursor > >> 1331431515904087602, > > then > >> I pass it and I get 0, sometimes I get a random number of > >> pages, > > but > >> never, never, be able to retrieve the total amount of pages. > > >> I use php twitter-async classes to comunicate with API, I > >>
Re: [twitter-dev] Re: Mad about lists and cursors... please help
It hasn't been deployed as far as I know, but it should be out this week. Sent from mobile device On Apr 20, 2010, at 4:38 AM, Zach wrote: I don't know if this fix for next_cursor always being zero has been deployed or not, but I'm still seeing this bug. A fix for this would be really awesome. On Apr 17, 12:04 pm, Mark McBride wrote: Yes. A fix has been identified, and should be deployed in a few days Sent from mobile device On Apr 17, 2010, at 7:08 AM, Zach wrote: It's 10 days later and next_cursor on http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-member ... is still always 0, even when the user is being followed by far more than 20 lists. This is completely broken and prevents 3rd party apps from discovering all lists that follow a given user. Has anyone at Twitter even looked into this? On Apr 7, 3:43 pm, Mark McBride wrote: Eugene, we're aware of the issue and will take a look at it today. ---Mark http://twitter.com/mccv On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < eugene.man...@gmail.com> wrote: I posted this issue to @twitterapi twice, but they ignored it. Dear API group, please address this question. Thank you! On Apr 6, 9:45 am, Spraycode wrote: Has anyone been able to solve this issue? This is still crippling us. Thanks! On Apr 2, 5:25 am, luisfigo wrote: Having the same problem... Triedhttp://api.twitter.com/1/avinashkaushik/lists/ memberships.xml and get 0 forcursor. This guy is followed by ton of lists in fact Below is the snapshot of the end result I got... This is screwing up our app right now... . http://a1.twimg.com/profile_background_images/79104366/twitter_backgr ... false false false false false 3208 en false 0 0 On Apr 1, 6:00 pm, Diego Rin Martin wrote: I think it's a API bug, even in the twitter page the paginator doesn't work as expected, sometimes appears, sometines not, and when appears it makes in a random manner. i'm gettingcursor0 from API, using int or string representation, the bug is in the API that sends thecursor0 randomly. regards, diego. On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: Are you sure you're using the string representation of the cursor instead of the int? The API'scursorexceeds PHP's max integer value (generally). jmathai ~ $ php -r '$x = json_decode (1); echo $x; echo "\n"; var_dump ($x===1); var_dump($x===1.111E+52);' 1.111E+52 bool(false) bool(true) jmathai ~ $ php -r '$x = 1; echo $x; echo "\n"; var_dump ($x===1); var_dump($x===1.111E+52);' 1.111E+52 bool(true) bool(false) On Mar 31, 2:03 am, Diego Rin Martín wrote: Hi there, this is my first post to this group, i'm a spanish developer dealing with twitter api surprises, excuse my poor english, i'will do my best to comunicate nicest. So, to the problem, I'm trying to retrieve the lists for a user, via list/membershipsget method, and passingcursoras parameter, I'm having got random results, I explain myself, sometimes I made a request (for user edans, that have a huge amount of pages to paginate) and I get one page, I passcursor-1 and I getcursor0, sometimes I get one page, I passcursor-1 i getcursor 1331431515904087602, then I pass it and I get 0, sometimes I get a random number of pages, but never, never, be able to retrieve the total amount of pages. I use php twitter-async classes to comunicate with API, I thought that it could be the cause of the problem, but using direct curl (via php5- curl extension) calls I'm having the same issues. Same using json or xml. I'm always getting 200 responses, so the call finish in a correct way. any clue? I'm turning mad. Thanks in advance. diego. -- To unsubscribe, reply using "remove me" as the subject.
Re: [twitter-dev] Re: Mad about lists and cursors... please help
It has not been deployed yet. Taylor Singletary Developer Advocate, Twitter http://twitter.com/episod On Tue, Apr 20, 2010 at 4:38 AM, Zach wrote: > I don't know if this fix for next_cursor always being zero has been > deployed or not, but I'm still seeing this bug. A fix for this would > be really awesome. > > > On Apr 17, 12:04 pm, Mark McBride wrote: > > Yes. A fix has been identified, and should be deployed in a few days > > > > Sent from mobile device > > > > On Apr 17, 2010, at 7:08 AM, Zach wrote: > > > > > It's 10 days later and next_cursor on > > >http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-member. > .. > > > is still always 0, even when the user is being followed by far more > > > than 20 lists. This is completely broken and prevents 3rd party apps > > > from discovering all lists that follow a given user. > > > > > Has anyone at Twitter even looked into this? > > > > > On Apr 7, 3:43 pm, Mark McBride wrote: > > >> Eugene, we're aware of the issue and will take a look at it today. > > > > >> ---Mark > > > > >>http://twitter.com/mccv > > > > >> On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < > > > > >> eugene.man...@gmail.com> wrote: > > >>> I posted this issue to @twitterapi twice, but they ignored it. > > > > >>> Dear API group, please address this question. > > > > >>> Thank you! > > > > >>> On Apr 6, 9:45 am, Spraycode wrote: > > Has anyone been able to solve this issue? This is still > > crippling us. > > > > Thanks! > > > > On Apr 2, 5:25 am, luisfigo wrote: > > > > > Having the same problem... > > > > > Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml > > > and get 0 forcursor. This guy is followed by ton of lists in > > > fact > > > > > Below is the snapshot of the end result I got... This is > > > screwing up > > > our app right now... > > > > > . > > > > > >>>http://a1.twimg.com/profile_background_images/79104366/twitter_backgr > > >>> ... > > > > > > false > > > false > > > false > > > false > > > false > > > 3208 > > > en > > > false > > > > > > > > > > > > 0 > > > 0 > > > > > > > > On Apr 1, 6:00 pm, Diego Rin Martin wrote: > > > > >> I think it's a API bug, even in the twitter page the paginator > > >>> doesn't work > > >> as expected, sometimes > > >> appears, sometines not, and when appears it makes in a random > > >> manner. > > > > >> i'm gettingcursor0 from API, using int or string > > >> representation, > > >>> the bug > > >> is in the API that sends > > >> thecursor0 randomly. > > > > >> regards, diego. > > > > >> On Thu, Apr 1, 2010 at 2:38 AM, jmathai > > >> wrote: > > >>> Are you sure you're using the string representation of the > > >>>cursor > > >>> instead of the int? The API'scursorexceeds PHP's max integer > > >>> value > > >>> (generally). > > > > >>> jmathai ~ $ php -r '$x = > > >>> json_decode > > >>> (1); > > >>> echo $x; echo "\n"; > > > > >>> var_dump > > >>> ($x===1); > > >>> var_dump($x===1.111E+52);' > > >>> 1.111E+52 > > >>> bool(false) > > >>> bool(true) > > > > >>> jmathai ~ $ php -r '$x = > > >>> 1; echo $x; > > >>> echo > > >>> "\n"; > > > > >>> var_dump > > >>> ($x===1); > > >>> var_dump($x===1.111E+52);' > > >>> 1.111E+52 > > >>> bool(true) > > >>> bool(false) > > > > >>> On Mar 31, 2:03 am, Diego Rin Martín > >>> m> wrote: > > Hi there, > > > > this is my first post to this group, i'm a spanish developer > > >>> dealing > > with twitter api surprises, excuse my poor english, i'will do > > my > > >>> best > > to comunicate nicest. > > > > So, to the problem, I'm trying to retrieve the lists for a > > user, > > >>> via > > list/membershipsget method, and passingcursoras parameter, > > I'm > > having got random results, I explain myself, sometimes I made a > > request (for user edans, that have a huge amount of pages to > > >>> paginate) > > and I get one page, I passcursor-1 and I getcursor0, > > >>> sometimes I > > get one page, I passcursor-1 i getcursor > > 1331431515904087602, > > >>> then > > I pass it and I get 0, sometimes I get a random number of > > pages, > > >>> but > > never, never, be able to retrieve the total amount of pages. > > > > I use php twitter-async classes to comunicate with API, I > > thought > > >>> that > > it could be the cause of the probl
[twitter-dev] Re: Mad about lists and cursors... please help
I don't know if this fix for next_cursor always being zero has been deployed or not, but I'm still seeing this bug. A fix for this would be really awesome. On Apr 17, 12:04 pm, Mark McBride wrote: > Yes. A fix has been identified, and should be deployed in a few days > > Sent from mobile device > > On Apr 17, 2010, at 7:08 AM, Zach wrote: > > > It's 10 days later and next_cursor on > >http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-member... > > is still always 0, even when the user is being followed by far more > > than 20 lists. This is completely broken and prevents 3rd party apps > > from discovering all lists that follow a given user. > > > Has anyone at Twitter even looked into this? > > > On Apr 7, 3:43 pm, Mark McBride wrote: > >> Eugene, we're aware of the issue and will take a look at it today. > > >> ---Mark > > >>http://twitter.com/mccv > > >> On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < > > >> eugene.man...@gmail.com> wrote: > >>> I posted this issue to @twitterapi twice, but they ignored it. > > >>> Dear API group, please address this question. > > >>> Thank you! > > >>> On Apr 6, 9:45 am, Spraycode wrote: > Has anyone been able to solve this issue? This is still > crippling us. > > Thanks! > > On Apr 2, 5:25 am, luisfigo wrote: > > > Having the same problem... > > > Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml > > and get 0 forcursor. This guy is followed by ton of lists in > > fact > > > Below is the snapshot of the end result I got... This is > > screwing up > > our app right now... > > > . > > > >>>http://a1.twimg.com/profile_background_images/79104366/twitter_backgr > >>> ... > > > > false > > false > > false > > false > > false > > 3208 > > en > > false > > > > > > > > 0 > > 0 > > > > > On Apr 1, 6:00 pm, Diego Rin Martin wrote: > > >> I think it's a API bug, even in the twitter page the paginator > >>> doesn't work > >> as expected, sometimes > >> appears, sometines not, and when appears it makes in a random > >> manner. > > >> i'm gettingcursor0 from API, using int or string > >> representation, > >>> the bug > >> is in the API that sends > >> thecursor0 randomly. > > >> regards, diego. > > >> On Thu, Apr 1, 2010 at 2:38 AM, jmathai > >> wrote: > >>> Are you sure you're using the string representation of the > >>>cursor > >>> instead of the int? The API'scursorexceeds PHP's max integer > >>> value > >>> (generally). > > >>> jmathai ~ $ php -r '$x = > >>> json_decode > >>> (1); > >>> echo $x; echo "\n"; > > >>> var_dump > >>> ($x===1); > >>> var_dump($x===1.111E+52);' > >>> 1.111E+52 > >>> bool(false) > >>> bool(true) > > >>> jmathai ~ $ php -r '$x = > >>> 1; echo $x; > >>> echo > >>> "\n"; > > >>> var_dump > >>> ($x===1); > >>> var_dump($x===1.111E+52);' > >>> 1.111E+52 > >>> bool(true) > >>> bool(false) > > >>> On Mar 31, 2:03 am, Diego Rin Martín >>> m> wrote: > Hi there, > > this is my first post to this group, i'm a spanish developer > >>> dealing > with twitter api surprises, excuse my poor english, i'will do > my > >>> best > to comunicate nicest. > > So, to the problem, I'm trying to retrieve the lists for a > user, > >>> via > list/membershipsget method, and passingcursoras parameter, > I'm > having got random results, I explain myself, sometimes I made a > request (for user edans, that have a huge amount of pages to > >>> paginate) > and I get one page, I passcursor-1 and I getcursor0, > >>> sometimes I > get one page, I passcursor-1 i getcursor > 1331431515904087602, > >>> then > I pass it and I get 0, sometimes I get a random number of > pages, > >>> but > never, never, be able to retrieve the total amount of pages. > > I use php twitter-async classes to comunicate with API, I > thought > >>> that > it could be the cause of the problem, but using direct curl > (via > >>> php5- > curl extension) calls I'm having the same issues. > > Same using json or xml. > > I'm always getting 200 responses, so the call finish in a > correct > >>> way. > > any clue? > > I'm turning mad. > > Thanks in advance. > diego. > > >>> -- > >>> To unsubscribe, reply using "remove me" as the subjec
Re: [twitter-dev] Re: Mad about lists and cursors... please help
+1 on needing this fix. Sorry for the duplicate report of this issue I slapped in another thread this morning. Thanks, Dan On Sat, Apr 17, 2010 at 12:04 PM, Mark McBride wrote: > Yes. A fix has been identified, and should be deployed in a few days > > Sent from mobile device > > > On Apr 17, 2010, at 7:08 AM, Zach wrote: > > It's 10 days later and next_cursor on >> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-memberships >> is still always 0, even when the user is being followed by far more >> than 20 lists. This is completely broken and prevents 3rd party apps >> from discovering all lists that follow a given user. >> >> Has anyone at Twitter even looked into this? >> >> >> On Apr 7, 3:43 pm, Mark McBride wrote: >> >>> Eugene, we're aware of the issue and will take a look at it today. >>> >>> ---Mark >>> >>> http://twitter.com/mccv >>> >>> On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < >>> >>> eugene.man...@gmail.com> wrote: >>> I posted this issue to @twitterapi twice, but they ignored it. >>> >>> Dear API group, please address this question. >>> >>> Thank you! >>> >>> On Apr 6, 9:45 am, Spraycode wrote: > Has anyone been able to solve this issue? This is still crippling us. > >>> Thanks! > >>> On Apr 2, 5:25 am, luisfigo wrote: > >>> Having the same problem... >> > >>> Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml >> and get 0 for cursor. This guy is followed by ton of lists in fact >> > >>> Below is the snapshot of the end result I got... This is screwing up >> our app right now... >> > >>> . >> >> > http://a1.twimg.com/profile_background_images/79104366/twitter_backgr. .. > >> false >> false >> false >> false >> false >> 3208 >> en >> false >> >> >> >> 0 >> 0 >> >> > >>> On Apr 1, 6:00 pm, Diego Rin Martin wrote: >> > >>> I think it's a API bug, even in the twitter page the paginator >>> >> doesn't work > as expected, sometimes >>> appears, sometines not, and when appears it makes in a random manner. >>> >> >>> i'm getting cursor 0 from API, using int or string representation, >>> >> the bug > is in the API that sends >>> the cursor 0 randomly. >>> >> >>> regards, diego. >>> >> >>> On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: >>> Are you sure you're using the string representation of the cursor instead of the int? The API's cursor exceeds PHP's max integer >>> value > (generally). >>> >>> jmathai ~ $ php -r '$x = json_decode(1); echo $x; echo "\n"; >>> >>> var_dump($x===1); > var_dump($x===1.111E+52);' 1.111E+52 bool(false) bool(true) >>> >>> jmathai ~ $ php -r '$x = 1; echo $x; >>> echo > "\n"; >>> >>> var_dump($x===1); > var_dump($x===1.111E+52);' 1.111E+52 bool(true) bool(false) >>> >>> On Mar 31, 2:03 am, Diego Rin Martín wrote: > Hi there, > >>> this is my first post to this group, i'm a spanish developer > dealing > with twitter api surprises, excuse my poor english, i'will do my > best > to comunicate nicest. > >>> So, to the problem, I'm trying to retrieve the lists for a user, > via > list/membershipsget method, and passing cursor as parameter, I'm > having got random results, I explain myself, sometimes I made a > request (for user edans, that have a huge amount of pages to > paginate) > and I get one page, I pass cursor -1 and I get cursor 0, > sometimes I > get one page, I pass cursor -1 i get cursor 1331431515904087602, > then > I pass it and I get 0, sometimes I get a random number of pages, > but > never, never, be able to retrieve the total amount of pages. > >>> I use php twitter-async classes to comunicate with API, I thought > that > it could be the cause of the problem, but using direct curl (via > php5- > curl extension) calls I'm having the same issues. > >>> Same using json or xml. > >>> I'm always getting 200 responses, so the call finish in a correct >
Re: [twitter-dev] Re: Mad about lists and cursors... please help
Yes. A fix has been identified, and should be deployed in a few days Sent from mobile device On Apr 17, 2010, at 7:08 AM, Zach wrote: It's 10 days later and next_cursor on http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-memberships is still always 0, even when the user is being followed by far more than 20 lists. This is completely broken and prevents 3rd party apps from discovering all lists that follow a given user. Has anyone at Twitter even looked into this? On Apr 7, 3:43 pm, Mark McBride wrote: Eugene, we're aware of the issue and will take a look at it today. ---Mark http://twitter.com/mccv On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < eugene.man...@gmail.com> wrote: I posted this issue to @twitterapi twice, but they ignored it. Dear API group, please address this question. Thank you! On Apr 6, 9:45 am, Spraycode wrote: Has anyone been able to solve this issue? This is still crippling us. Thanks! On Apr 2, 5:25 am, luisfigo wrote: Having the same problem... Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml and get 0 for cursor. This guy is followed by ton of lists in fact Below is the snapshot of the end result I got... This is screwing up our app right now... . http://a1.twimg.com/profile_background_images/79104366/twitter_backgr ... false false false false false 3208 en false 0 0 On Apr 1, 6:00 pm, Diego Rin Martin wrote: I think it's a API bug, even in the twitter page the paginator doesn't work as expected, sometimes appears, sometines not, and when appears it makes in a random manner. i'm getting cursor 0 from API, using int or string representation, the bug is in the API that sends the cursor 0 randomly. regards, diego. On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: Are you sure you're using the string representation of the cursor instead of the int? The API's cursor exceeds PHP's max integer value (generally). jmathai ~ $ php -r '$x = json_decode (1); echo $x; echo "\n"; var_dump ($x===1); var_dump($x===1.111E+52);' 1.111E+52 bool(false) bool(true) jmathai ~ $ php -r '$x = 1; echo $x; echo "\n"; var_dump ($x===1); var_dump($x===1.111E+52);' 1.111E+52 bool(true) bool(false) On Mar 31, 2:03 am, Diego Rin Martín m> wrote: Hi there, this is my first post to this group, i'm a spanish developer dealing with twitter api surprises, excuse my poor english, i'will do my best to comunicate nicest. So, to the problem, I'm trying to retrieve the lists for a user, via list/membershipsget method, and passing cursor as parameter, I'm having got random results, I explain myself, sometimes I made a request (for user edans, that have a huge amount of pages to paginate) and I get one page, I pass cursor -1 and I get cursor 0, sometimes I get one page, I pass cursor -1 i get cursor 1331431515904087602, then I pass it and I get 0, sometimes I get a random number of pages, but never, never, be able to retrieve the total amount of pages. I use php twitter-async classes to comunicate with API, I thought that it could be the cause of the problem, but using direct curl (via php5- curl extension) calls I'm having the same issues. Same using json or xml. I'm always getting 200 responses, so the call finish in a correct way. any clue? I'm turning mad. Thanks in advance. diego. -- To unsubscribe, reply using "remove me" as the subject.
[twitter-dev] Re: Mad about lists and cursors... please help
It's 10 days later and next_cursor on http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-memberships is still always 0, even when the user is being followed by far more than 20 lists. This is completely broken and prevents 3rd party apps from discovering all lists that follow a given user. Has anyone at Twitter even looked into this? On Apr 7, 3:43 pm, Mark McBride wrote: > Eugene, we're aware of the issue and will take a look at it today. > > ---Mark > > http://twitter.com/mccv > > On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < > > eugene.man...@gmail.com> wrote: > > I posted this issue to @twitterapi twice, but they ignored it. > > > Dear API group, please address this question. > > > Thank you! > > > On Apr 6, 9:45 am, Spraycode wrote: > > > Has anyone been able to solve this issue? This is still crippling us. > > > > Thanks! > > > > On Apr 2, 5:25 am, luisfigo wrote: > > > > > Having the same problem... > > > > > Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml > > > > and get 0 for cursor. This guy is followed by ton of lists in fact > > > > > Below is the snapshot of the end result I got... This is screwing up > > > > our app right now... > > > > > . > > > > > >http://a1.twimg.com/profile_background_images/79104366/twitter_backgr... > > > > > > > > false > > > > false > > > > false > > > > false > > > > false > > > > 3208 > > > > en > > > > false > > > > > > > > > > > > > > > > 0 > > > > 0 > > > > > > > > > On Apr 1, 6:00 pm, Diego Rin Martin wrote: > > > > > > I think it's a API bug, even in the twitter page the paginator > > doesn't work > > > > > as expected, sometimes > > > > > appears, sometines not, and when appears it makes in a random manner. > > > > > > i'm getting cursor 0 from API, using int or string representation, > > the bug > > > > > is in the API that sends > > > > > the cursor 0 randomly. > > > > > > regards, diego. > > > > > > On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: > > > > > > Are you sure you're using the string representation of the cursor > > > > > > instead of the int? The API's cursor exceeds PHP's max integer > > value > > > > > > (generally). > > > > > > > jmathai ~ $ php -r '$x = > > > > > > json_decode(1); > > > > > > echo $x; echo "\n"; > > > var_dump($x===1); > > > > > > var_dump($x===1.111E+52);' > > > > > > 1.111E+52 > > > > > > bool(false) > > > > > > bool(true) > > > > > > > jmathai ~ $ php -r '$x = > > > > > > 1; echo $x; > > echo > > > > > > "\n"; > > > var_dump($x===1); > > > > > > var_dump($x===1.111E+52);' > > > > > > 1.111E+52 > > > > > > bool(true) > > > > > > bool(false) > > > > > > > On Mar 31, 2:03 am, Diego Rin Martín wrote: > > > > > > > Hi there, > > > > > > > > this is my first post to this group, i'm a spanish developer > > dealing > > > > > > > with twitter api surprises, excuse my poor english, i'will do my > > best > > > > > > > to comunicate nicest. > > > > > > > > So, to the problem, I'm trying to retrieve the lists for a user, > > via > > > > > > >list/membershipsget method, and passing cursor as parameter, I'm > > > > > > > having got random results, I explain myself, sometimes I made a > > > > > > > request (for user edans, that have a huge amount of pages to > > paginate) > > > > > > > and I get one page, I pass cursor -1 and I get cursor 0, > > sometimes I > > > > > > > get one page, I pass cursor -1 i get cursor 1331431515904087602, > > then > > > > > > > I pass it and I get 0, sometimes I get a random number of pages, > > but > > > > > > > never, never, be able to retrieve the total amount of pages. > > > > > > > > I use php twitter-async classes to comunicate with API, I thought > > that > > > > > > > it could be the cause of the problem, but using direct curl (via > > php5- > > > > > > > curl extension) calls I'm having the same issues. > > > > > > > > Same using json or xml. > > > > > > > > I'm always getting 200 responses, so the call finish in a correct > > way. > > > > > > > > any clue? > > > > > > > > I'm turning mad. > > > > > > > > Thanks in advance. > > > > > > > diego. > > > > > > > -- > > > > > > To unsubscribe, reply using "remove me" as the subject.
[twitter-dev] Re: Mad about lists and cursors... please help
Thanks! Looking forward to the resolution. On Apr 7, 12:43 pm, Mark McBride wrote: > Eugene, we're aware of the issue and will take a look at it today. > > ---Mark > > http://twitter.com/mccv > > On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < > > eugene.man...@gmail.com> wrote: > > I posted this issue to @twitterapi twice, but they ignored it. > > > Dear API group, please address this question. > > > Thank you! > > > On Apr 6, 9:45 am, Spraycode wrote: > > > Has anyone been able to solve this issue? This is still crippling us. > > > > Thanks! > > > > On Apr 2, 5:25 am, luisfigo wrote: > > > > > Having the same problem... > > > > > Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml > > > > and get 0 for cursor. This guy is followed by ton of lists in fact > > > > > Below is the snapshot of the end result I got... This is screwing up > > > > our app right now... > > > > > . > > > > > >http://a1.twimg.com/profile_background_images/79104366/twitter_backgr... > > > > > > > > false > > > > false > > > > false > > > > false > > > > false > > > > 3208 > > > > en > > > > false > > > > > > > > > > > > > > > > 0 > > > > 0 > > > > > > > > > On Apr 1, 6:00 pm, Diego Rin Martin wrote: > > > > > > I think it's a API bug, even in the twitter page the paginator > > doesn't work > > > > > as expected, sometimes > > > > > appears, sometines not, and when appears it makes in a random manner. > > > > > > i'm getting cursor 0 from API, using int or string representation, > > the bug > > > > > is in the API that sends > > > > > the cursor 0 randomly. > > > > > > regards, diego. > > > > > > On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: > > > > > > Are you sure you're using the string representation of the cursor > > > > > > instead of the int? The API's cursor exceeds PHP's max integer > > value > > > > > > (generally). > > > > > > > jmathai ~ $ php -r '$x = > > > > > > json_decode(1); > > > > > > echo $x; echo "\n"; > > > var_dump($x===1); > > > > > > var_dump($x===1.111E+52);' > > > > > > 1.111E+52 > > > > > > bool(false) > > > > > > bool(true) > > > > > > > jmathai ~ $ php -r '$x = > > > > > > 1; echo $x; > > echo > > > > > > "\n"; > > > var_dump($x===1); > > > > > > var_dump($x===1.111E+52);' > > > > > > 1.111E+52 > > > > > > bool(true) > > > > > > bool(false) > > > > > > > On Mar 31, 2:03 am, Diego Rin Martín wrote: > > > > > > > Hi there, > > > > > > > > this is my first post to this group, i'm a spanish developer > > dealing > > > > > > > with twitter api surprises, excuse my poor english, i'will do my > > best > > > > > > > to comunicate nicest. > > > > > > > > So, to the problem, I'm trying to retrieve the lists for a user, > > via > > > > > > >list/membershipsget method, and passing cursor as parameter, I'm > > > > > > > having got random results, I explain myself, sometimes I made a > > > > > > > request (for user edans, that have a huge amount of pages to > > paginate) > > > > > > > and I get one page, I pass cursor -1 and I get cursor 0, > > sometimes I > > > > > > > get one page, I pass cursor -1 i get cursor 1331431515904087602, > > then > > > > > > > I pass it and I get 0, sometimes I get a random number of pages, > > but > > > > > > > never, never, be able to retrieve the total amount of pages. > > > > > > > > I use php twitter-async classes to comunicate with API, I thought > > that > > > > > > > it could be the cause of the problem, but using direct curl (via > > php5- > > > > > > > curl extension) calls I'm having the same issues. > > > > > > > > Same using json or xml. > > > > > > > > I'm always getting 200 responses, so the call finish in a correct > > way. > > > > > > > > any clue? > > > > > > > > I'm turning mad. > > > > > > > > Thanks in advance. > > > > > > > diego. > > > > > > > -- > > > > > > To unsubscribe, reply using "remove me" as the subject.
Re: [twitter-dev] Re: Mad about lists and cursors... please help
Eugene, we're aware of the issue and will take a look at it today. ---Mark http://twitter.com/mccv On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com < eugene.man...@gmail.com> wrote: > I posted this issue to @twitterapi twice, but they ignored it. > > Dear API group, please address this question. > > Thank you! > > On Apr 6, 9:45 am, Spraycode wrote: > > Has anyone been able to solve this issue? This is still crippling us. > > > > Thanks! > > > > On Apr 2, 5:25 am, luisfigo wrote: > > > > > Having the same problem... > > > > > Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml > > > and get 0 for cursor. This guy is followed by ton of lists in fact > > > > > Below is the snapshot of the end result I got... This is screwing up > > > our app right now... > > > > > . > > > > http://a1.twimg.com/profile_background_images/79104366/twitter_backgr... > > > > > > false > > > false > > > false > > > false > > > false > > > 3208 > > > en > > > false > > > > > > > > > > > > 0 > > > 0 > > > > > > > > On Apr 1, 6:00 pm, Diego Rin Martin wrote: > > > > > > I think it's a API bug, even in the twitter page the paginator > doesn't work > > > > as expected, sometimes > > > > appears, sometines not, and when appears it makes in a random manner. > > > > > > i'm getting cursor 0 from API, using int or string representation, > the bug > > > > is in the API that sends > > > > the cursor 0 randomly. > > > > > > regards, diego. > > > > > > On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: > > > > > Are you sure you're using the string representation of the cursor > > > > > instead of the int? The API's cursor exceeds PHP's max integer > value > > > > > (generally). > > > > > > > jmathai ~ $ php -r '$x = > > > > > json_decode(1); > > > > > echo $x; echo "\n"; > > > > > > var_dump($x===1); > > > > > var_dump($x===1.111E+52);' > > > > > 1.111E+52 > > > > > bool(false) > > > > > bool(true) > > > > > > > jmathai ~ $ php -r '$x = > > > > > 1; echo $x; > echo > > > > > "\n"; > > > > > > var_dump($x===1); > > > > > var_dump($x===1.111E+52);' > > > > > 1.111E+52 > > > > > bool(true) > > > > > bool(false) > > > > > > > On Mar 31, 2:03 am, Diego Rin Martín wrote: > > > > > > Hi there, > > > > > > > > this is my first post to this group, i'm a spanish developer > dealing > > > > > > with twitter api surprises, excuse my poor english, i'will do my > best > > > > > > to comunicate nicest. > > > > > > > > So, to the problem, I'm trying to retrieve the lists for a user, > via > > > > > >list/membershipsget method, and passing cursor as parameter, I'm > > > > > > having got random results, I explain myself, sometimes I made a > > > > > > request (for user edans, that have a huge amount of pages to > paginate) > > > > > > and I get one page, I pass cursor -1 and I get cursor 0, > sometimes I > > > > > > get one page, I pass cursor -1 i get cursor 1331431515904087602, > then > > > > > > I pass it and I get 0, sometimes I get a random number of pages, > but > > > > > > never, never, be able to retrieve the total amount of pages. > > > > > > > > I use php twitter-async classes to comunicate with API, I thought > that > > > > > > it could be the cause of the problem, but using direct curl (via > php5- > > > > > > curl extension) calls I'm having the same issues. > > > > > > > > Same using json or xml. > > > > > > > > I'm always getting 200 responses, so the call finish in a correct > way. > > > > > > > > any clue? > > > > > > > > I'm turning mad. > > > > > > > > Thanks in advance. > > > > > > diego. > > > > > > > -- > > > > > To unsubscribe, reply using "remove me" as the subject. >
[twitter-dev] Re: Mad about lists and cursors... please help
I posted this issue to @twitterapi twice, but they ignored it. Dear API group, please address this question. Thank you! On Apr 6, 9:45 am, Spraycode wrote: > Has anyone been able to solve this issue? This is still crippling us. > > Thanks! > > On Apr 2, 5:25 am, luisfigo wrote: > > > Having the same problem... > > > Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml > > and get 0 for cursor. This guy is followed by ton of lists in fact > > > Below is the snapshot of the end result I got... This is screwing up > > our app right now... > > > . > > http://a1.twimg.com/profile_background_images/79104366/twitter_backgr... > > > > false > > false > > false > > false > > false > > 3208 > > en > > false > > > > > > > > 0 > > 0 > > > > > On Apr 1, 6:00 pm, Diego Rin Martin wrote: > > > > I think it's a API bug, even in the twitter page the paginator doesn't > > > work > > > as expected, sometimes > > > appears, sometines not, and when appears it makes in a random manner. > > > > i'm getting cursor 0 from API, using int or string representation, the bug > > > is in the API that sends > > > the cursor 0 randomly. > > > > regards, diego. > > > > On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: > > > > Are you sure you're using the string representation of the cursor > > > > instead of the int? The API's cursor exceeds PHP's max integer value > > > > (generally). > > > > > jmathai ~ $ php -r '$x = > > > > json_decode(1); > > > > echo $x; echo "\n"; > > > > var_dump($x===1); > > > > var_dump($x===1.111E+52);' > > > > 1.111E+52 > > > > bool(false) > > > > bool(true) > > > > > jmathai ~ $ php -r '$x = > > > > 1; echo $x; echo > > > > "\n"; > > > > var_dump($x===1); > > > > var_dump($x===1.111E+52);' > > > > 1.111E+52 > > > > bool(true) > > > > bool(false) > > > > > On Mar 31, 2:03 am, Diego Rin Martín wrote: > > > > > Hi there, > > > > > > this is my first post to this group, i'm a spanish developer dealing > > > > > with twitter api surprises, excuse my poor english, i'will do my best > > > > > to comunicate nicest. > > > > > > So, to the problem, I'm trying to retrieve the lists for a user, via > > > > >list/membershipsget method, and passing cursor as parameter, I'm > > > > > having got random results, I explain myself, sometimes I made a > > > > > request (for user edans, that have a huge amount of pages to paginate) > > > > > and I get one page, I pass cursor -1 and I get cursor 0, sometimes I > > > > > get one page, I pass cursor -1 i get cursor 1331431515904087602, then > > > > > I pass it and I get 0, sometimes I get a random number of pages, but > > > > > never, never, be able to retrieve the total amount of pages. > > > > > > I use php twitter-async classes to comunicate with API, I thought that > > > > > it could be the cause of the problem, but using direct curl (via php5- > > > > > curl extension) calls I'm having the same issues. > > > > > > Same using json or xml. > > > > > > I'm always getting 200 responses, so the call finish in a correct way. > > > > > > any clue? > > > > > > I'm turning mad. > > > > > > Thanks in advance. > > > > > diego. > > > > > -- > > > > To unsubscribe, reply using "remove me" as the subject.
[twitter-dev] Re: Mad about lists and cursors... please help
Has anyone been able to solve this issue? This is still crippling us. Thanks! On Apr 2, 5:25 am, luisfigo wrote: > Having the same problem... > > Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml > and get 0 for cursor. This guy is followed by ton of lists in fact > > Below is the snapshot of the end result I got... This is screwing up > our app right now... > > . > http://a1.twimg.com/profile_background_images/79104366/twitter_backgr... > > false > false > false > false > false > 3208 > en > false > > > > 0 > 0 > > > On Apr 1, 6:00 pm, Diego Rin Martin wrote: > > > I think it's a API bug, even in the twitter page the paginator doesn't work > > as expected, sometimes > > appears, sometines not, and when appears it makes in a random manner. > > > i'm getting cursor 0 from API, using int or string representation, the bug > > is in the API that sends > > the cursor 0 randomly. > > > regards, diego. > > > On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: > > > Are you sure you're using the string representation of the cursor > > > instead of the int? The API's cursor exceeds PHP's max integer value > > > (generally). > > > > jmathai ~ $ php -r '$x = > > > json_decode(1); > > > echo $x; echo "\n"; > > > var_dump($x===1); > > > var_dump($x===1.111E+52);' > > > 1.111E+52 > > > bool(false) > > > bool(true) > > > > jmathai ~ $ php -r '$x = > > > 1; echo $x; echo > > > "\n"; > > > var_dump($x===1); > > > var_dump($x===1.111E+52);' > > > 1.111E+52 > > > bool(true) > > > bool(false) > > > > On Mar 31, 2:03 am, Diego Rin Martín wrote: > > > > Hi there, > > > > > this is my first post to this group, i'm a spanish developer dealing > > > > with twitter api surprises, excuse my poor english, i'will do my best > > > > to comunicate nicest. > > > > > So, to the problem, I'm trying to retrieve the lists for a user, via > > > > list/memberships get method, and passing cursor as parameter, I'm > > > > having got random results, I explain myself, sometimes I made a > > > > request (for user edans, that have a huge amount of pages to paginate) > > > > and I get one page, I pass cursor -1 and I get cursor 0, sometimes I > > > > get one page, I pass cursor -1 i get cursor 1331431515904087602, then > > > > I pass it and I get 0, sometimes I get a random number of pages, but > > > > never, never, be able to retrieve the total amount of pages. > > > > > I use php twitter-async classes to comunicate with API, I thought that > > > > it could be the cause of the problem, but using direct curl (via php5- > > > > curl extension) calls I'm having the same issues. > > > > > Same using json or xml. > > > > > I'm always getting 200 responses, so the call finish in a correct way. > > > > > any clue? > > > > > I'm turning mad. > > > > > Thanks in advance. > > > > diego. > > > > -- > > > To unsubscribe, reply using "remove me" as the subject.
[twitter-dev] Re: Mad about lists and cursors... please help
Having the same problem... Tried http://api.twitter.com/1/avinashkaushik/lists/memberships.xml and get 0 for cursor. This guy is followed by ton of lists in fact Below is the snapshot of the end result I got... This is screwing up our app right now... . http://a1.twimg.com/profile_background_images/79104366/twitter_background.jpg false false false false false 3208 en false 0 0 On Apr 1, 6:00 pm, Diego Rin Martin wrote: > I think it's a API bug, even in the twitter page the paginator doesn't work > as expected, sometimes > appears, sometines not, and when appears it makes in a random manner. > > i'm getting cursor 0 from API, using int or string representation, the bug > is in the API that sends > the cursor 0 randomly. > > regards, diego. > > On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: > > Are you sure you're using the string representation of the cursor > > instead of the int? The API's cursor exceeds PHP's max integer value > > (generally). > > > jmathai ~ $ php -r '$x = > > json_decode(1); > > echo $x; echo "\n"; > > var_dump($x===1); > > var_dump($x===1.111E+52);' > > 1.111E+52 > > bool(false) > > bool(true) > > > jmathai ~ $ php -r '$x = > > 1; echo $x; echo > > "\n"; > > var_dump($x===1); > > var_dump($x===1.111E+52);' > > 1.111E+52 > > bool(true) > > bool(false) > > > On Mar 31, 2:03 am, Diego Rin Martín wrote: > > > Hi there, > > > > this is my first post to this group, i'm a spanish developer dealing > > > with twitter api surprises, excuse my poor english, i'will do my best > > > to comunicate nicest. > > > > So, to the problem, I'm trying to retrieve the lists for a user, via > > > list/memberships get method, and passing cursor as parameter, I'm > > > having got random results, I explain myself, sometimes I made a > > > request (for user edans, that have a huge amount of pages to paginate) > > > and I get one page, I pass cursor -1 and I get cursor 0, sometimes I > > > get one page, I pass cursor -1 i get cursor 1331431515904087602, then > > > I pass it and I get 0, sometimes I get a random number of pages, but > > > never, never, be able to retrieve the total amount of pages. > > > > I use php twitter-async classes to comunicate with API, I thought that > > > it could be the cause of the problem, but using direct curl (via php5- > > > curl extension) calls I'm having the same issues. > > > > Same using json or xml. > > > > I'm always getting 200 responses, so the call finish in a correct way. > > > > any clue? > > > > I'm turning mad. > > > > Thanks in advance. > > > diego. > > > -- > > To unsubscribe, reply using "remove me" as the subject.
[twitter-dev] Re: Mad about lists and cursors... please help
Having the same problem... If you go here http://api.twitter.com/1/avinashkaushik/lists/memberships.xml you will see the cursor is 0. This guy is followed by ton of lists in fact... Below is the snapshot of the result I got...This is screwing up our app right now... ... http://a1.twimg.com/profile_background_images/79104366/twitter_background.jpg false false false false false 3208 en false 0 0 -- To unsubscribe, reply using "remove me" as the subject.
Re: [twitter-dev] Re: Mad about lists and cursors... please help
I think it's a API bug, even in the twitter page the paginator doesn't work as expected, sometimes appears, sometines not, and when appears it makes in a random manner. i'm getting cursor 0 from API, using int or string representation, the bug is in the API that sends the cursor 0 randomly. regards, diego. On Thu, Apr 1, 2010 at 2:38 AM, jmathai wrote: > Are you sure you're using the string representation of the cursor > instead of the int? The API's cursor exceeds PHP's max integer value > (generally). > > jmathai ~ $ php -r '$x = > json_decode(1); > echo $x; echo "\n"; > var_dump($x===1); > var_dump($x===1.111E+52);' > 1.111E+52 > bool(false) > bool(true) > > jmathai ~ $ php -r '$x = > 1; echo $x; echo > "\n"; > var_dump($x===1); > var_dump($x===1.111E+52);' > 1.111E+52 > bool(true) > bool(false) > > On Mar 31, 2:03 am, Diego Rin Martín wrote: > > Hi there, > > > > this is my first post to this group, i'm a spanish developer dealing > > with twitter api surprises, excuse my poor english, i'will do my best > > to comunicate nicest. > > > > So, to the problem, I'm trying to retrieve the lists for a user, via > > list/memberships get method, and passing cursor as parameter, I'm > > having got random results, I explain myself, sometimes I made a > > request (for user edans, that have a huge amount of pages to paginate) > > and I get one page, I pass cursor -1 and I get cursor 0, sometimes I > > get one page, I pass cursor -1 i get cursor 1331431515904087602, then > > I pass it and I get 0, sometimes I get a random number of pages, but > > never, never, be able to retrieve the total amount of pages. > > > > I use php twitter-async classes to comunicate with API, I thought that > > it could be the cause of the problem, but using direct curl (via php5- > > curl extension) calls I'm having the same issues. > > > > Same using json or xml. > > > > I'm always getting 200 responses, so the call finish in a correct way. > > > > any clue? > > > > I'm turning mad. > > > > Thanks in advance. > > diego. > > > -- > To unsubscribe, reply using "remove me" as the subject. >
[twitter-dev] Re: Mad about lists and cursors... please help
Are you sure you're using the string representation of the cursor instead of the int? The API's cursor exceeds PHP's max integer value (generally). jmathai ~ $ php -r '$x = json_decode(1); echo $x; echo "\n"; var_dump($x===1); var_dump($x===1.111E+52);' 1.111E+52 bool(false) bool(true) jmathai ~ $ php -r '$x = 1; echo $x; echo "\n"; var_dump($x===1); var_dump($x===1.111E+52);' 1.111E+52 bool(true) bool(false) On Mar 31, 2:03 am, Diego Rin Martín wrote: > Hi there, > > this is my first post to this group, i'm a spanish developer dealing > with twitter api surprises, excuse my poor english, i'will do my best > to comunicate nicest. > > So, to the problem, I'm trying to retrieve the lists for a user, via > list/memberships get method, and passing cursor as parameter, I'm > having got random results, I explain myself, sometimes I made a > request (for user edans, that have a huge amount of pages to paginate) > and I get one page, I pass cursor -1 and I get cursor 0, sometimes I > get one page, I pass cursor -1 i get cursor 1331431515904087602, then > I pass it and I get 0, sometimes I get a random number of pages, but > never, never, be able to retrieve the total amount of pages. > > I use php twitter-async classes to comunicate with API, I thought that > it could be the cause of the problem, but using direct curl (via php5- > curl extension) calls I'm having the same issues. > > Same using json or xml. > > I'm always getting 200 responses, so the call finish in a correct way. > > any clue? > > I'm turning mad. > > Thanks in advance. > diego. -- To unsubscribe, reply using "remove me" as the subject.