I'm writing a program that fills in the username and password field on
www.facebook.com/login.php and hits submit.
The forms fill out correctly and the button is hit correctly.
However, I get an error page when my program tries to log in. It has
"Cookies are not enabled on your browser. Please adjust this in your
security preferences before continuing."
Here is that portion of my code:
# Author: Kyri Baker
my $ua = LWP::UserAgent->new;
$ua->cookie_jar( HTTP::Cookies->new() );
my $action = 'Login';
my $response = $ua->post('http://www.facebook.com/login.php',['email'=>
$email, 'pass'=>$pass, 'doquicklogin'=>$action]);
Any input at all would be great, I'm just getting into Perl. :c)