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 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用