java - Android - HTTP POST and GET login and view html -


i trying log in facebook given users credentials , receive html of webpage using http post , get. here code:

    httpclient httpclient = new defaulthttpclient();     httppost httppost = new httppost("https://www.facebook.com/");     httpresponse response = null;       list<namevaluepair> namevaluepair = new arraylist<namevaluepair>(2);     namevaluepair.add(new basicnamevaluepair("email", useremail));     namevaluepair.add(new basicnamevaluepair("pass", userpassword));     namevaluepair.add(new basicnamevaluepair("submit", "log in"));     try {         httppost.setentity(new urlencodedformentity(namevaluepair));      } catch (unsupportedencodingexception e)     {         system.out.println("here 3");         e.printstacktrace();     }     try {          response = httpclient.execute(httppost);         system.out.println(response.getstatusline().getstatuscode() < 400);          // write response log         log.d("http post response:", response.tostring());     } catch (clientprotocolexception e) {         // log exception         e.printstacktrace();     } catch (ioexception e) {         // log exception         system.out.println("here 2");          e.printstacktrace();     }     //attempt 3     string htmlsource = "";     inputstream in = null;     try {         in = response.getentity().getcontent();     } catch (ioexception e) {         e.printstacktrace();     }     bufferedreader myreader = new bufferedreader(new inputstreamreader(in));     stringbuilder string = new stringbuilder();     string line = null;     try {         while ((line = myreader.readline()) != null) // read line line           string.append(line + "\n");      } catch (ioexception e) {         e.printstacktrace();     }     try {         in.close();     } catch (ioexception e) {         e.printstacktrace();     }     htmlsource = string.tostring();     system.out.println(htmlsource); 

it supposed print out html of page after login, instead prints out html of login page. know how fix this? thanks.

edit: here html output

<!doctype html>  <html lang="en" id="facebook" class="no_js">     <head>        <meta charset="utf-8" />        <script>function envflush(a){function b(c){for(var d in a)c[d]=a[d];}if(window.requirelazy){window.requirelazy(['env'],b);}else{window.env=window.env||{};b(window.env);}}envflush({"ajaxpipe_token":"axg9mpow7wzqs-1i","lhsh":"daqegaacr"});</script>        <script>cavalrylogger=false;</script>        <noscript>           <meta http-equiv="refresh" content="0; url=/login.php?next=https%3a%2f%2fwww.facebook.com%2fgroups%2f123435454667253%2f&amp;_fb_noscript=1" />        </noscript>        <meta name="referrer" content="default" id="meta_referrer" />        <title id="pagetitle">log facebook | facebook</title>        <meta property="og:site_name" content="facebook" />        <meta property="og:url" content="https://www.facebook.com/login.php?next=https%3a%2f%2fwww.facebook.com%2fgroups%2f123435454667253%2f" />        <meta property="og:locale" content="en_us" />        <meta property="og:locale:alternate" content="www" />        <meta property="og:locale:alternate" content="es_la" />        <meta property="og:locale:alternate" content="es_es" />        <meta property="og:locale:alternate" content="fr_fr" />        <meta property="og:locale:alternate" content="it_it" />        <meta property="og:locale:alternate" content="id_id" />        <meta property="og:locale:alternate" content="th_th" />        <meta property="og:locale:alternate" content="vi_vn" />        <meta property="og:locale:alternate" content="ko_kr" />        <link rel="search" type="application/opensearchdescription+xml" href="/osd.xml" title="facebook" />        <link rel="canonical" href="https://www.facebook.com/login/" />        <link rel="alternate" media="only screen , (max-width: 640px)" href="https://m.facebook.com/login/" />        <link rel="alternate" media="handheld" href="https://m.facebook.com/login/" />        <link rel="alternate" hreflang="x-default" href="https://www.facebook.com/login/" />        <link rel="alternate" hreflang="en" href="https://www.facebook.com/login/" />        <link rel="alternate" hreflang="ar" href="https://ar-ar.facebook.com/login/" />        <link rel="alternate" hreflang="bg" href="https://bg-bg.facebook.com/login/" />        <link rel="alternate" hreflang="bs" href="https://bs-ba.facebook.com/login/" />        <link rel="alternate" hreflang="ca" href="https://ca-es.facebook.com/login/" />        <link rel="alternate" hreflang="da" href="https://da-dk.facebook.com/login/" />        <link rel="alternate" hreflang="el" href="https://el-gr.facebook.com/login/" />        <link rel="alternate" hreflang="es" href="https://es-la.facebook.com/login/" />        <link rel="alternate" hreflang="es-es" href="https://es-es.facebook.com/login/" />        <link rel="alternate" hreflang="fa" href="https://fa-ir.facebook.com/login/" />        <link rel="alternate" hreflang="fi" href="https://fi-fi.facebook.com/login/" />        <link rel="alternate" hreflang="fr" href="https://fr-fr.facebook.com/login/" />        <link rel="alternate" hreflang="fr-ca" href="https://fr-ca.facebook.com/login/" />        <link rel="alternate" hreflang="hi" href="https://hi-in.facebook.com/login/" />        <link rel="alternate" hreflang="hr" href="https://hr-hr.facebook.com/login/" />        <link rel="alternate" hreflang="id" href="https://id-id.facebook.com/login/" />        <link rel="alternate" hreflang="it" href="https://it-it.facebook.com/login/" />        <link rel="alternate" hreflang="ko" href="https://ko-kr.facebook.com/login/" />        <link rel="alternate" hreflang="mk" href="https://mk-mk.facebook.com/login/" />        <link rel="alternate" hreflang="ms" href="https://ms-my.facebook.com/login/" />        <link rel="alternate" hreflang="pl" href="https://pl-pl.facebook.com/login/" />        <link rel="alternate" hreflang="pt" href="https://pt-br.facebook.com/login/" />        <link rel="alternate" hreflang="pt-pt" href="https://pt-pt.facebook.com/login/" />        <link rel="alternate" hreflang="ro" href="https://ro-ro.facebook.com/login/" />        <link rel="alternate" hreflang="sl" href="https://sl-si.facebook.com/login/" />        <link rel="alternate" hreflang="sr" href="https://sr-rs.facebook.com/login/" />        <link rel="alternate" hreflang="th" href="https://th-th.facebook.com/login/" />        <link rel="alternate" hreflang="vi" href="https://vi-vn.facebook.com/login/" />        <meta name="description" content="log facebook start sharing , connecting f        <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v2/yz/r/qayt59fagzn.css" data-bootloader-hash="mqylf" crossorigin="anonymous" />        <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v2/yp/r/vlpkwrc9j6k.css" data-bootloader-hash="crkan" data-permanent="1" crossorigin="anonymous" />        <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v2/y3/r/311ycwgyxkv.css" data-bootloader-hash="pv1hp" data-permanent="1" crossorigin="anonymous" />        <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v2/yo/r/33vxnjzb2yn.css" data-bootloader-hash="mwdzo" data-permanent="1" crossorigin="anonymous" />        <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v2/yw/r/fb1_zpj4hvd.css" data-bootloader-hash="1nw/a" crossorigin="anonymous" />        <script src="https://static.xx.fbcdn.net/rsrc.php/v2/yb/r/fkhl0ijq8yw.js" data-bootloader-hash="wup2n" crossorigin="anonymous"></script>        <script>require("timeslice").guard(function() {(require("serverjsdefine")).handledefines([["urlfragmentpreludeconfig",[],{"incorporatequicklingfragment":true,"hashtagredirect":true},137],["bootloaderconfig",[],{"maxjsretries":0,"jsretries":null,"jsretryabortnum":2,"jsretryaborttime":5},329],["cssloaderconfig",[],{"timeout":5000,"moduleprefix":"blcss:"},619],["useragentdata",[],{"browserarchitecture":"32","browserfullversion":null,"browserminorversion":null,"browsername":"unknown","browserversion":null,"devicename":"unknown","enginename":"unknown","engineversion":null,"platformarchitecture":"32","platformname":"unknown","platformversion":null,"platformfullversion":null},527],["trackingconfig",[],{"domain":"https:\/\/pixel.facebook.com"},325],["webspeedexperiments",[],{"non_blocking_tracker":false,"non_blocking_logger":false},1160],["currentcommunityinitialdata",[],{},490],["currentuserinitialdata",[],{"user_id":"0","account_id":"0"},270],["dtsginitialdata",[],{},258],["isb",[],{},330],["lsd",[],{"token":"avqyfozj"},323],["sitedata",[],{"revision":2144174,"tier":"","push_phase":"v3","pkg_cohort":"exp1:default","spdy_enabled":false,"haste_site":"www","vip":"31.13.77.36"},317],["linkshimhandlerconfig",[],{"supports_meta_referrer":false,"default_meta_referrer_policy":"default","render_verification_rate":1000},27],["linkreactunsafehrefconfig",[],{"log_unsafe_href":false},1182],["banzaiconfig",[],{"expiry":86400000,"max_size":10000,"max_wait":150000,"restore_wait":150000,"blacklist":["time_spent"],"gks":{"boosted_component":true,"boosted_pagelikes":true,"boosted_posts":true,"boosted_website":true,"jslogger":true,"mercury_send_error_logging":true,"pages_client_logging":true,"platform_oauth_client_events":true,"time_spent_bit_array":true,"useraction":true,"videos":true,"visibility_tracking":true,"vitals":true,"allow_userid_mismatch":true,"graphexplorer":true}},7],["corewarninggk",[],{"forcewarning":false},725],["fbtlogger",[],{"logger":null},288],["fbtqtoverrides",[],{"overrides":{"1_539bf175108659676097349f8b511a1d":"donate international medical corps , facebook match donation.","1_d1c1f6116da4d8f993a151fda3072cb5":"donate international medical corps today , join in supporting relief efforts","1_6f7acce98bbf4cfdac77ebf5b9bad304":"100\u0025 of donation go {=international medical corps} , work in response nepal earthquake. facebook donate $2 million local relief efforts.","1_8b130114c0a07a35b47bebd218149f60":"support earthquake relief efforts","1_65c3391ebe4a1af8364ca4fbb8cb54d1":"mobile number or email:","1_8d7e2c77c3375ec57db92d101f139964":"donate international medical corps , support earthquake relief efforts."}},551],["fbtresultgk",[],{"shouldreturnfbtresult":false,"inlinemode":false},876],["intlviewercontext",[],{"gender":50331648},772],["reactgk",[],{"logtoplevelrenders":false,"usecreateelement":true},998],["asyncrequestconfig",[],{"pkgcohort":"exp1:default","pkg_cohort_key":"__pc","retryonnetworkerror":"1"},328],["zerocategoryheader",[],{},1127],["bigpipeexperiments",[],{"preparse_content":"","prefetch":"none","download_js":"blocked_by_dom_ready","link_images_to_pagelets":false},907],["errorsignalconfig",[],{"uri":"https:\/\/error.facebook.com\/common\/scribe_endpoint.php"},319],["accessibilityconfig",[],{"a11ydontmesswithtabindex":false,"a11yvirtualcursortrigger":false,"a11ynewsfeedstoryenumeration":false},1227],["sessionnameconfig",[],{"seed":"0hca"},757],["pagetransitionsconfig",[],{"reloadonbootloaderror":false},1067],["litestandshareattachmentconfig",[],{"allow_simple_crop":true},1151],["photosnowliftactionsgating",[],{"allow_make_cover_photo_button":false,"allow_make_profile_picture_button":false},887],["initialservertime",[],{"servertime":1453673391000},204],["videoplayerabortloadingexperiment",[],{"canabort":false,"withoutload":true},824]]);new (require("serverjs"))().handle({"require":[["timeslice"],["markjsenabled"],["lowerdomain"],["urlfragmentprelude"],["primer"],["bigpipe"],["bootloader"]]});}, "serverj           <script>requirelazy(["bootloader"], function(bootloader) {bootloader.setresourcemap({"wgbwv":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yx\/r\/lcafpjsac54.js","crossorigin":1},"uisyu":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yw\/r\/lugtgkkjtcw.js","crossorigin":1},"ccpbo":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yn\/r\/8v2_hdh4nfm.js","crossorigin":1},"3vrov":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yr\/r\/xwv6og7tyf2.js","crossorigin":1},"qyx4s":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yn\/r\/znyelfc3lq4.js","crossorigin":1},"+clwy":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yf\/r\/a0qdgknend5.js","crossorigin":1},"zf5gz":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yq\/r\/ommm3x4t6dd.js","crossorigin":1},"hfyvs":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yg\/r\/suniartcpji.js","crossorigin":1},"ubqlk":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yd\/r\/z9_31cflmgs.js","crossorigin":1},"j+g5j":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yv\/r\/3g_-ivu6oik.js","crossorigin":1},"snznu":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/ys\/r\/obopadw3nyj.js","crossorigin":1},"l1k\/a":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yt\/r\/plr_pv_fs_j.js","crossorigin":1},"oe4do":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/ye\/r\/k9o3qpdtfqb.js","crossorigin":1},"ojtdz":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yn\/r\/_byql81fu1k.js","crossorigin":1},"cnca2":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/ys\/r\/_uw33i9lkjl.js","crossorigin":1},"d7v4x":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yw\/r\/q1wfqncqpeo.js","crossorigin":1},"nl8id":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yw\/r\/dppan5o6uju.js","crossorigin":1},"wswtv":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/y_\/r\/xxn49zk5gnd.js","crossorigin":1},"xh2k3":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yv\/r\/tovqvkf_5na.js","crossorigin":1},"+sdyd":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yz\/r\/qdslq-ciis7.css","permanent":1,"crossorigin":1},"hc18y":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yl\/r\/r7fdkq_okpe.js","crossorigin":1},"cdeld":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yb\/r\/wztiu0lqrbu.js","crossorigin":1},"a6iiz":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yq\/r\/akruthmjlvg.js","crossorigin":1},"vsxjz":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yr\/r\/6mogu8hdauf.js","crossorigin":1},"ifvrp":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/y0\/r\/xztuakp737f.css","crossorigin":1},"tfqnt":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yd\/r\/p4tv91a7d5d.js","crossorigin":1},"lgwqk":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/y_\/r\/8veg8hmmzjm.js","crossorigin":1},"gc9il":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yj\/r\/y2viehnv9xx.css","nonblocking":1,"crossorigin":1},"5krai":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/y2\/r\/jt8shvtwwrm.js","crossorigin":1},"i7f+l":{"type":"css","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/ya\/r\/fphvj4kxijf.css","permanent":1,"crossorigin":1},"2oufz":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yk\/r\/-kpbrwnax0q.js","crossorigin":1},"evwaq":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yf\/r\/nmp9wt0k0gj.js","crossorigin":1},"atxwd":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yu\/r\/mowqunmdieh.js","crossorigin":1},"rs18g":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/yy\/r\/z9xrgskfbez.js","crossorigin":1},"domtm":{"type":"js","src":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/ya\/r\/dov           requirelazy(["ix"], function(ix) {ix.add({"images\/platform\/registration\/about\/arrow_right.png":{"sprited":true,"spritemapcssclass":"sp_k5i405glexr","spritecssclass":"sx_922c0c"},"images\/groups\/sell\/place_icon_sell.png":{"sprited":true,"spritemapcssclass":"sp_k5i405glexr","spritecssclass":"sx_8f30d9"},"arrow-right:white:small":{"sprited":true,"spritemapcssclass":"sp_wbn8fef7sye","spritecssclass":"sx_2db80b"}});});        </script>        <script>requirelazy(["initialjsloader"], function(initialjsloader) {initialjsloader.loadondomcontentready(["enbso","wgbwv","v0yxn","uisyu","2oufz","hfs+y","3vrov","xh2k3"]);});</script>        <script>require("timeslice").guard(function() {require("serverjsdefine").handledefines([]);require("initialjsloader").handleserverjs({"elements":[["__elem_835c633a_0_0","login_form",1],["__elem_f46f4946_0_0","u_0_0",1],["__elem_f46f4946_0_1","u_0_1",1],["__elem_1edd4980_0_0","loginbutton",2],["__elem_072b8e64_0_0","u_0_3",1],["__elem_072b8e64_0_1","u_0_4",1],["__elem_072b8e64_0_2","u_0_5",1],["__elem_072b8e64_0_3","u_0_6",1],["__elem_072b8e64_0_4","u_0_7",1],["__elem_072b8e64_0_5","u_0_8",1],["__elem_072b8e64_0_6","u_0_9",1],["__elem_072b8e64_0_7","u_0_a",1],["__elem_072b8e64_0_8","u_0_b",1],["__elem_072b8e64_0_9","u_0_c",1],["__elem_a588f507_0_0","globalcontainer",1],["__elem_85b7cbf7_0_0","login_form",1]],"require":[["pixelratio","startdetecting",[],[1],[]],["serviceworkerloginandlogoutlistener","listen",["__elem_1edd4980_0_0"],[{"__m":"__elem_1edd4980_0_0"},"login"],[]],["timezoneautoset","setinputvalue",["__elem_f46f4946_0_0"],[{"__m":"__elem_f46f4946_0_0"},1453673391],[]],["screendimensionsautoset","setinputvalue",["__elem_f46f4946_0_1"],[{"__m":"__elem_f46f4946_0_1"}],[]],["loginformcontroller","init",["__elem_835c633a_0_0","__elem_1edd4980_0_0"],[{"__m":"__elem_835c633a_0_0"},{"__m":"__elem_1edd4980_0_0"}],[]],["postloadjs","loadandcall",[],["quicksandsolver","solveandupdateform",[1,"w??b\u0040?>`y y|\u0012g?i\nou?pz\u0004???u9??",10,42,100,"login_form","azmvj6wcoixbqo0peryrnenrztrywevcqc3jgibezk46nys7ghyj1fbrjp07982h2vimxj3e898ixf0vdpcdujmvvjwcl-e3uh2fna2fejatt-ljw95mjftar7tsxa4a0xcw5j4gn3orthd1x6w0v6vdtrgpurq7lyxmpcyihf7ggpsfymlekg0g9snevnn1fz_6n-ksujwl_7ptgfiiqa3wrlhopdoicj-wkh8pjkuzwg"]],[]],["focuslistener"],["flipdirectiononkeypress"],["cookie","setiffirstpartycontext",[],["_js_datr","r0ulvvnlrvp3y5efblglbzzk",63072000000,"\/",false],[]],["cookie","setiffirstpartycontext",[],["_js_reg_fb_ref","https:\/\/www.facebook.com\/login.php?next=https\u00253a\u00252f\u00252fwww.facebook.com\u00252fgroups\u00252f123435454667253\u00252f",0,"\/",false],[]],["cookie","setiffirstpartycontext",[],["_js_reg_fb_gate","https:\/\/www.facebook.com\/login.php?next=https\u00253a\u00252f\u00252fwww.facebook.com\u00252fgroups\u00252f123435454667253\u00252f",0,"\/",false],[]],["intl","setphonologicalrules",[],[{"meta":{"\/_b\/":"([.,!?\\s]|^)","\/_e\/":"([.,!?\\s]|$)"},"patterns":{"\/\u0001(.*)('|&#039;)s\u0001(?:'|&#039;)s(.*)\/":"\u0001$1$2s\u0001$3","\/_\u0001([^\u0001]*)\u0001\/e":"mb_strtolower(\"\u0001$1\u0001\")","\/\\^\\x01([^\\x01])(?=[^\\x01]*\\x01)\/e":"mb_strtoupper(\"\u0001$1\")","\/_\u0001([^\u0001]*)\u0001\/":"javascript"}}],[]],["postloadjs","loadandrequire",[],["dimensiontracking"],[]],["postloadjs","loadandcall",[],["highcontrastmode","init",[{"ishcm":false,"spacerimage":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v2\/y4\/r\/-paxp-deije.gif"}]],[]],["postloadjs","loadandcall",[],["detectbrokenproxycache","run",[0,"c_user"]],[]],["clickreflogger"],["scriptpath","set",[],["\/login.php","ad976420",{"imp_id":"17a7d485"}],[]],["useractionhistory"],["scriptpathlogger","startlogging",[],[],[]],["timespentbitarraylogger","init",[],[],[]],["navigationclickpointhandler"],["uitinyviewportaction","init",[],[],[]],["resetscrollonunload","init",["__elem_a588f507_0_0"],[{"__m":"__elem_a588f507_0_0"}],[]],["postloadjs","loadandcall",[],["webstoragemonster","schedule",[]],[]],["asyncrequestnectarlogging"],["loggedoutswitchinglocalelogger","logonclick",["__elem_072b8e64_0_0"],[{"__m":"__elem_072b8e64_0_0"},"en_us","en_us",0],[]],["loggedoutswitchinglocalelogger","logonclick",["__elem_072b8e64_0_1"],[{"__m":"__elem_072b8e64_0_1"},"en_us","es_la",1],[]],["loggedoutswitchinglocalelogger","logonclick",["__elem_072b8e64_0_2"],[{"__m":"__elem_072b8e64_0_2"},"en_us","fr_fr",2],[]],["loggedoutswitchinglocalelogger","logonclick",["__elem_072b8e64_0_3"],[{"__m":"__elem_072b8e64_0_3"},"en_us","zh_cn",3],[]],["loggedoutswitchinglocalelogger","logonclick",["__elem_072b8e64_0_4"],[{"__m":"__elem_072b8e64_0_4"},"en_us","ar_ar",4],[]],["loggedoutswitchinglocalelogger","logonclick",["__elem_072b8e64_0_5"],[{"__m":"__el           onloadregister_deprecated(function (){begin_polling_login_cookies("https:\/\/www.facebook.com\/groups\/123435454667253\/");});        </script>        <!-- bigpipe construction , first response -->        <script>var bigpipe = new (require("bigpipe"))({"lid":"6243479675352150674","forcefinish":true});</script>        <script>bigpipe.beforepageletarrive("first_response")</script>        <script>require("timeslice").guard((function(){bigpipe.onpageletarrive({"id":"first_response","phase":0,"jsmods":{},"is_last":true,"allresources":["enbso","at3o+","mqylf","crkan","pv1hp","mwdzo","wgbwv","v0yxn","uisyu","1nw\/a","2oufz","hfs+y","3vrov","xh2k3"],"displayresources":["at3o+","mqylf","crkan","pv1hp","mwdzo","1nw\/a"]});}),"onpageletarrive first_response",{"root":true,"pagelet":"first_response"})();</script><script>bigpipe.beforepageletarrive("last_response")</script>        <script>require("timeslice").guard((function(){bigpipe.onpageletarrive({"id":"last_response","phase":1,"jsmods":{"define":[["timespentconfig",[],{"0_delay":0,"0_timeout":8,"delay":200000,"timeout":64},142],["immediateactivesecondsconfig",[],{"sampling_rate":0},423]]},"is_last":true,"allresources":["enbso","at3o+","mqylf","crkan","pv1hp","mwdzo","wgbwv","v0yxn","uisyu","1nw\/a","2oufz","hfs+y","3vrov","xh2k3"],"displayresources":["at3o+","mqylf","crkan","pv1hp","mwdzo","1nw\/a"],"the_end":true});}),"onpageletarrive last_response",{"root":true,"pagelet":"last_response"})();</script>                                                                                                                                                                                                                                                                                                                                                                                       </body>  </html>

i think should use facebook sdk support logins in app, don't know if login http post available.

here getting started guide:

https://developers.facebook.com/docs/android/getting-started

and login example

https://developers.facebook.com/docs/facebook-login/android


Comments