2012-03-29 69 views
-1

我想用手機上使用這些URL的HTTP連接登錄到Facebook的:Facebook的登錄身份驗證使用HTTP手機上沒有瀏覽器

String URL1= "https://www.facebook.com/dialog/oauth?client_id=128991357211271&redirect_uri=https://www.facebook.com/connect/login_success.html&scope=offline_access&display=touch&response_type=token"; 
String URL2="http://m.facebook.com/login.php?app_id=128991357211271&cancel=httpsu00253Au00252Fu00252Fwww.facebook.comu00252Fconnectu00252Flogin_success.htmlu00253Ferror_reasonu00253Duser_deniedu002526erroru00253Daccess_deniedu002526error_descriptionu00253DTheu00252Buseru00252Bdeniedu00252Byouru00252Brequest.&fbconnect=1&next=httpsu00253Au00252Fu00252Fwww.facebook.comu00252Fdialogu00252Fpermissions.requestu00253F_pathu00253Dpermissions.requestu002526app_idu00253D128991357211271u002526redirect_uriu00253Dhttpsu0025253Au0025252Fu0025252Fwww.facebook.comu0025252Fconnectu0025252Flogin_success.htmlu002526displayu00253Dwapu002526response_typeu00253Dtokenu002526permsu00253Doffline_accessu002526fbconnectu00253D1u002526from_loginu00253D1u002526client_idu00253D128991357211271&rcount=1&_rdr"; 
String URL3="https://m.facebook.com/login.php?m=m&next=http0X1.705B00P-767%2Fm.facebook.comttpsu00253Au00252Fu00252Fwww.facebook.comu00252Fdialogu00252Fpermissions.requestu00253F_pathu00253Dpermissions.requestu002526app_idu00253D128991357211271u002526redirect_uriu00253Dhttpsu0025253Au0025252Fu0025252Fwww.facebook.comu0025252Fconnectu0025252Flogin_success.htmlu002526displayu00253Dwapu002526response_typeu00253Dtokenu002526permsu00253Doffline_accessu002526fbconnectu00253D1u002526from_loginu00253D1u002526client_idu00253D128991357211271&refsrc=http0X1.BDEA81P-744%2Fm.facebook.com2476350215gin.php&refid=9"; 
String param3="email=myemail&pass=mypass"; 
String URL4="http://m.facebook.com/download.php?refsrc=http0X1.5C08C1P-688%2Fm.facebook.com1170gin.php&m_sess=R8Vnc-b9WcLHqr&_rdr&manual_redirect=1"; 

首先,我嘗試訪問URL1,然後在結果存在於URL2 然後我訪問,等等...

當我嘗試訪問URL3並張貼我的電子郵件,並使用HTTP後傳球,URL4是在結果的鏈接。但是,當我嘗試訪問URL4時,結果是一樣的(再次鏈接到URL4)。

當我嘗試在網絡瀏覽器中打開URL4時,它說我必須安裝Facebook移動版。

爲什麼總是要求安裝Facebook移動版?或者,有沒有更好的方法來只使用HTTP連接登錄Facebook?

+2

爲什麼這可能在理論上是可能的,你試圖做的事情是[TOS]嚴格禁止的(http://www.facebook.com/legal/terms) – 2012-03-29 05:42:59

回答