duanfan5012 2015-03-31 02:17
浏览 207
已采纳

在Android应用程序中使用Facebook登录,无需使用Facebook应用程序

I want to add a login with facebook button in my android app, and than store the user information in a php server. When following the official documentation I found out that the SDK user the facebook app, so pepole who will use my app will have to install the facebook app first and I dont want that dependence, and I couldn't find a documentation that teaches how to implement that. Obviously I m just a beginner so please help me with that, thanks in advance.

  • 写回答

1条回答 默认 最新

  • dongpang1898 2015-03-31 05:14
    关注

    You can use SDK only, as it provides both functionalities. If user has Facebook app installed in his phone, than it will login from the app. If user does not have Facebook installed on his phone, then FacebookSdk will automatically open a login dialog for Facebook login.

    Check this image

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?