Facebook authorize not working inside Android Asynctask or Thread

前端 未结 3 755
执念已碎
执念已碎 2021-01-20 00:20

Working with facebook in Android. Sometimes my application is cashing in real time device when I tried to authorize Facebook in Android.not in emulator. I used the Android F

3条回答
  •  有刺的猬
    2021-01-20 01:00

    I faced the same issue.You must try to put this method in loop

     Looper.prepare();
     new fbwork().execute(facebook);
     Looper.loop();
    

提交回复
热议问题