Depending on the user agent you specify(1), Facebook's successful/failed login URLs can actually be the same, so you probably want to check the content of what was returned, rather than location.
--k.
(1) See $mech->agent_alias('...') or the agent argument to WWW::Mechanize->new.
In reply to Re: WWW::Mechanize and Facebook login
by Kanji
in thread WWW::Mechanize and Facebook login
by davidov0009
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |