Jump to content

CURL help - With Example HTML and Code


jjmusicpro

Recommended Posts

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.