I want to write a script that will log in to facebook.
I tried going to this URL:
https://www.facebook.com/login.php?&email=example@example.com&pass=password
but it doesnt work, it just redirects to the same page.
I want to write a script that will log in to facebook.
I tried going to this URL:
https://www.facebook.com/login.php?&email=example@example.com&pass=password
but it doesnt work, it just redirects to the same page.
What you are doing is GET, not POST.
Generally sending a password in a GET query is not a good idea. It is visible as plain text in the browser, in your request, which may be sniffed with a sniffing tool and in your browser history. That's probably why Facebook does not accept it.