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

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

报告相同问题?

悬赏问题

  • ¥15 做个有关计算的小程序
  • ¥15 MPI读取tif文件无法正常给各进程分配路径
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下
  • ¥15 setInterval 页面闪烁,怎么解决
  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化