thanlankon Posted December 31, 2011 Share Posted December 31, 2011 (edited) loginface("############","############") Func loginface($usename = "################",$password = "###########") $password = _UnicodeURLEncode($password) 'charset_test=€,´,€,´, 水,Д,Є&lsd=f_YAc&locale=en_US&email='&$usename&'& pass='&$password&'&default_persistent=0& charset_test=€,´,€,´,水,Д,Є&lsd=f_YAc&timezone=300' $OHttp = _winhttpopen("Mozilla/5.0 (Windows NT 5.1; rv:8.0.1) Gecko/20100101 Firefox/8.0.1") $CHttp = _WinHttpConnect($OHttp,"www.facebook.com") $HHttp = _winhttpopenrequest($CHttp,"POST","login.php?login_attempt=1","HTTP/1.1","https://www.facebook.com/login.php","text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8") _WinHttpAddRequestHeaders($HHttp,"Cookie: datr=AZH-TrphQyK2wTIzuud8eU0c") ;if don't add cookie then facebook will send error _WinHttpSendRequest($HHttp,"Content-Type: application/x-www-form-urlencoded",$data) _WinHttpReceiveResponse($HHttp) Local $sHeader $sHeader = _WinHttpQueryHeaders($HHttp) ;<======== this problem MsgBox(0,0,$sHeader ) _winhttpclosehandle($HHttp) _winhttpclosehandle($CHttp) endfunc i couldn't get response header from facebook with my account Please help me Edited December 31, 2011 by Melba23 Removed clear text email address and password Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 31, 2011 Moderators Share Posted December 31, 2011 thanlankon, How about we stick to one thread at a time. 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