hiepxuan2008 Posted July 17, 2013 Share Posted July 17, 2013 (edited) 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 https://www.facebook.com/ajax/pages/suggestions_on_liking.php POST /ajax/pages/suggestions_on_liking.php HTTP/1.1 Host: www.facebook.com User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: vi-vn,vi;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate X-SVN-Rev: 878720 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Referer: https://www.facebook.com/hellokitty?fref=ts Content-Length: 133 Cookie: 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=1024x600 Connection: keep-alive Pragma: no-cache Cache-Control: no-cache pageid=40444963499&__user=100006401342446&__a=1&__dyn=7n8ahyj35ynxl2u5F97KehU&__req=e&fb_dtsg=AQBeRV9f&phstamp=1658166101828657102102 HTTP/1.1 200 OK Cache-Control: private, no-cache, no-store, must-revalidate Content-Encoding: gzip Content-Type: application/x-javascript; charset=utf-8 Date: Wed, 17 Jul 2013 17:33:45 GMT Expires: Sat, 01 Jan 2000 00:00:00 GMT P3P: CP="Facebook does not have a P3P policy. Learn why here: http://fb.me/p3p" Pragma: no-cache Set-Cookie: wd=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/; domain=.facebook.com; httponly X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 0 X-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 ! Edited July 17, 2013 by hiepxuan2008 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 17, 2013 Moderators Share Posted July 17, 2013 hiepxuan2008,We are not going to help you autoclick "Like" buttons - if it is so important that you show that you like someone, wear out your own fingers. Thread locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts