Posted on 2007-05-21 14:07:41-07 by bluewall
Getting only odd-numbered friend pages...
In the friend_changes and get_friends scripts, only the friend-id's on odd-numbered pages are returned.
I commented out the $page_no++ on line 2214...
last unless $self->_next_button; #$page_no++; << Line #2214 return @friends
...this made it work.
~james
Direct Responses: 5184 | Write a response
Posted on 2007-05-21 14:15:42-07 by bluewall in response to 5182
Re: Getting only odd-numbered friend pages...
Woops! I forgot to say which file I edited: blib/lib/WWW/Myspace.pm :)

~james
Direct Responses: 5191 | Write a response
Posted on 2007-05-22 01:01:53-07 by grantg in response to 5184
Re: Getting only odd-numbered friend pages...
Hi James,

This would have been better filed as a bug, but it was short enough that I just added it in for the next release. Thanks!

Grant

Direct Responses: 5193 | Write a response
Posted on 2007-05-22 02:38:09-07 by bluewall in response to 5191
Re: Getting only odd-numbered friend pages...
Sorry, I did that later & sent a patch w/note after I read the instructions. (you know how us men are :)
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.