twitter question

essares1

Junior Member
Joined
Apr 27, 2009
Messages
161
Reaction score
28
why does twitter have two hidden fields named 'authenticity_token' while posting the login form? I just don't get how do you send to hidden fields of the same name?
 
why does twitter have two hidden fields named 'authenticity_token' while posting the login form? I just don't get how do you send to hidden fields of the same name?


If you want to fill those fields when the form is POSTED. Add your hidden variable - For example:

google.com/hello.php?id=lilwayne&password=3838&authenticity_token=whateveruwantou

or if this helps you better understand:
google.com/submit.php?authenticity_token=hheheheheh


Hope this helps
 
If you want to fill those fields when the form is POSTED. Add your hidden variable - For example:

google.com/hello.php?id=lilwayne&password=3838&authenticity_token=whateveruwantou

or if this helps you better understand:
google.com/submit.php?authenticity_token=hheheheheh


Hope this helps

Thanks for trying to help but you didn't get my question. I know how to post hidden fields. My question is there are exactly two authenticity_token fields being posted while logging in to twitter. And it is not working if you post one field. And I am unable to set two fields with the same name while posting with php using cURL.

Hope you got my question now.
 
Just use one field with cURL. Is that a problem? Probably the browser ignore the duplicated field and send just one (maybe the first).
 
Back
Top