Subject: | Error on friend adder |
When trying to run on OS X 10.4.5
with perl v5.8.6
WWW::Myspace Version 0.42
using
WWW::Myspace::FreindAdder Version 0.05
I've attached my .pl file
I get to the username prompt fine, then put in username/pwd it says
Day too big - 2932896 > 24855
Sec too big - 2932896 > 11647
(which I typically get)
It usually then starts to run but recently as of 4/25/06 it has said
this at this point:
Didn't get user_name at /Library/Perl/5.8.6/WWW/Myspace.pm line 3375,
<STDIN> line 2.
So I tried to do something simple like just login with the following:
use WWW::Myspace;
my $myspace = new WWW::Myspace;
print $myspace->account_name;
$myspace->account_name( 'other_account@myspace.com' );
$myspace->password( 'other_accounts_password' );
$myspace->site_login;
Again get past username/pwd and get:
Day too big - 2932896 > 24855
Sec too big - 2932896 > 11647
Got "not logged in" page
Got "not logged in" page
Got "not logged in" page
Got "not logged in" page
Got "not logged in" page
The "Got not logged in page" loops.
Thanks,
hope this helps
Justin:)
Subject: | add_longwave.pl |
use WWW::Myspace;
use WWW::Myspace::FriendAdder;
# see WWW::Myspace docs for more info on user/pass usage
my $myspace = WWW::Myspace->new();
my $adder = WWW::Myspace::FriendAdder->new( $myspace );
# or pass some startup parameters
my %startup_params = (
exclude_my_friends => 1,
# interactive => 0,
max_count => 150,
random_sleep => 10,
# config_file => '/path/to/config_file.cfg',
);
my $adder = WWW::Myspace::FriendAdder->new(
$myspace,
\%startup_params,
);
# find all of Shania Twain's friends
# (hey, you've got your reasons...)
my @friend_ids = $myspace->friends_from_profile('19128879');
# now, ask Shania's friends to be your friends
$adder->send_friend_requests( @friend_ids);