Android Facebook SDK2.3, session state stay OPENING in ActivityResult -


i check issues similary mine,and know may wrong override method,but couldn't find problem is.in main activity override onactivityreslut:

@override public void onactivityresult(int requestcode, int resultcode, intent data) {     super.onactivityresult(requestcode, resultcode, data);     facebookloginplugin.onactivityresult(requestcode, resultcode, data); } 

facebookloginplugin instace of class fblogin;

facebookloginplugin = new fblogin(this); 

and in fblogin call onactivityresult this:

public void onactivityresult(int requestcode,int resultcode,intent data) {     uihelper.onactivityresult(requestcode, requestcode, data);     session session = session.getactivesession();     session.onactivityresult(activity, requestcode, resultcode, data);      log.i(tag,"onactivityresult ====="+session.isopened()+"   "+session.isclosed());     string status = getstatus(0);     log.i(tag,"status of facebook "+status);     log.i(tag,"resultcode ="+resultcode); } 

but when loggin facebook got session.isopend()==false,and status "openging",i sure keyhash , appid can work samplehellofacebook,and dashboad implement loginto app ,please help,thanks.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -