jjmusicpro Posted December 16, 2010 Share Posted December 16, 2010 Hey guys, i had an app that did a CURL call to log into facebook however it seems like they updated there login for there mobile site. Here is the HTML <form method="post" action="https://login.facebook.com/login.php?m=m&refsrc=http%3A%2F%2Fm.facebook.com%2Flogin.php&fbb=r01c1fe28&refid=9"><input type="hidden" name="lsd" autocomplete="off" /><input type="hidden" name="post_form_id" value="d90410be5a12934868b59878b1159a37" /><input type="hidden" name="charset_test" value="€,´,€,´,水,Д,Є" /><span class="mfss fcg">Email or Phone:</span><br /><input class="input" type="text" name="email" value="" /><br /><span class="mfss fcg">Password:</span><br /><input class="input" type="password" name="pass" /><br /><div><input type="submit" value="Log In" class="btn btnC" name="login" /> I have this below, but cant figure out how to update it with the new HTML above. $url="https://login.facebook.com/login.php?m=m&refsrc=http%3A%2F%2Fm.facebook.com%2F&fbb=rb8b9213c&refid=8"; $POSTFIELDS = 'charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84&lsd=-H1sd&email='.urlencode($username).'&pass='.urlencode($password).'&login=Log+In'; Any help would be great! Link to comment https://forums.phpfreaks.com/topic/221830-curl-help-with-example-html-and-code/ Share on other sites More sharing options...
jjmusicpro Posted December 16, 2010 Author Share Posted December 16, 2010 anyone? Link to comment https://forums.phpfreaks.com/topic/221830-curl-help-with-example-html-and-code/#findComment-1147979 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.