Log in

View Full Version : Facebook POST login?



Shady?
02-10-2011, 12:25 PM
Hi, I'm trying to login to facebook using PostHTTPPageEx, but i can't seem to get it working, here's what I have:


program New;

var client2:integer;

begin
Client2 := InitializeHTTPClient(true, true);
SetHTTPUserAgent(client2, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2');
Addpostvariable(client2,'email','my mail here');
Addpostvariable(client2,'pass','my pass here');
writeln(PostHTTPPageEx(client2, 'http://www.facebook.com/login.php'));
end.


But this won't log in. I can't figure out what else needs to be sent. Thanks for your help!

Shady?
02-24-2011, 02:29 AM
mm a little bump

Frement
02-24-2011, 02:34 AM
Check if there are any hidden inputs? Also, check what your browser sends when you login normally.