Hello, I catch trouble with analysing a data of live http headers
For an example.
Fanpage: https://www.facebook.com/hellokitty
When I click "like" on fanpage.
I get content below
POST /ajax/pages/suggestions_on_liking.php HTTP/1.1Host: www.facebook.comUser-Agent: Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: vi-vn,vi;q=0.8,en-us;q=0.5,en;q=0.3Accept-Encoding: gzip, deflateX-SVN-Rev: 878720Content-Type: application/x-www-form-urlencoded; charset=UTF-8Content-Length: 133Cookie: datr=XdTmUbi9A3hSIiuBjqRftDke; c_user=100006401342446; csm=2; fr=0I68CwWISSiNYVhs1.AWWz1PpvihHwYw0uCUT_ZXzn4pY.BR5tRs.2h.AAA.AWXp_ewS; lu=RgpVj8otrOCXVe6DIedtiBZw; s=Aa6VY8vUNpgy0V1o.BR5tRs; xs=61%3Al9NGLbJuVYKc7g%3A2%3A1374082156; p=75; presence=EM374082405EuserFA21B06401342446EstateFDsb2F0Et2F_5b_5dElm2FnullEuct2F1374081557BEtrFnullEtwF62101357EatF137408239886374082405050CEchFDp_5f1B06401342446F3CC; act=1374082362792%2F0; sub=64; wd=1024x600Connection: keep-alivePragma: no-cacheCache-Control: no-cachepageid=40444963499&__user=100006401342446&__a=1&__dyn=7n8ahyj35ynxl2u5F97KehU&__req=e&fb_dtsg=AQBeRV9f&phstamp=1658166101828657102102HTTP/1.1 200 OKCache-Control: private, no-cache, no-store, must-revalidateContent-Encoding: gzipContent-Type: application/x-javascript; charset=utf-8Date: Wed, 17 Jul 2013 17:33:45 GMTExpires: Sat, 01 Jan 2000 00:00:00 GMTP3P: CP="Facebook does not have a P3P policy. Learn why here: http://fb.me/p3p"Pragma: no-cacheSet-Cookie: wd=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/; domain=.facebook.com; httponlyX-Content-Type-Options: nosniffX-Frame-Options: DENYX-XSS-Protection: 0X-FB-Debug: hJggf/123V6msiZbHZSkBXo+zYFhXgQa20e3I2XA+qo=X-Firefox-Spdy: 2
Notice
"Cache-Control: no-cache
pageid=40444963499&__user=100006401342446&__a=1&__dyn=7n8ahyj35ynxl2u5F97KehU&__req=e&fb_dtsg=AQBeRV9f&phstamp=1658166101828657102102"
I wonder where I can find "__dyn and phstamp ". (I tried to get source of facebook, but I only find
"pageid,user,fb_dtsg")
I want to make soft auto login and like fanpage.
My idea: Use winhttp login and set cookie, then I will get source of page to get pageid,user,fb_dtsg, (and get __dyn,phstamp) for data of winhttp.
Someone can answer for me? Thanks !