Sign in to follow this  
Followers 0
hiepxuan2008

Like FanPage Facebook - Live Http headers

2 posts in this topic

#1 ·  Posted (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

 

 
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
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 by hiepxuan2008

Share this post


Link to post
Share on other sites



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. :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0