Android Facebook.authorize don't call oncomplete method

前端 未结 1 1585
一生所求
一生所求 2020-12-18 00:32

I\'m trying to integrate facebook login on my android app. I found a lot of examples on internet, but now I have the following problem and I can\'t find a solution.

相关标签:
1条回答
  • 2020-12-18 00:58

    Make sure that you implemented onActivityResult() properly as stated in the official documentation:

    @Override
    public void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
    
        facebook.authorizeCallback(requestCode, resultCode, data);
    }
    
    0 讨论(0)
提交回复
热议问题