in reply to Re^4: Completely puzzled in creating content for post method of mechanize module
in thread Completely puzzled in creating content for post method of mechanize module

Googling for "Facebook phstamp" seems to suggest that it should be reasonably easy to generate that phstamp value:

CRACKED Facebook's phstamp

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re^5: Completely puzzled in creating content for post method of mechanize module

Replies are listed 'Best First'.
Re^6: Completely puzzled in creating content for post method of mechanize module
by ckj (Chaplain) on Apr 05, 2012 at 04:54 UTC
    Guys my problem is resolved and we don't need to find exact phstamp to update those attributes since phstamp is something which gets generated with response, so a normal random number can be used as phstamp, since i guess it's something which is generated at client end and server doesn't have its record. Server only seeks for this attribute at the time of update.