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 WPF使用Canvas绘制矢量图问题
  • ¥15 用三极管设计一个单管共射放大电路
  • ¥15 孟德尔随机化r语言运行问题
  • ¥15 pyinstaller编译的时候出现No module named 'imp'
  • ¥15 nirs_kit中打码怎么看(打码文件是csv格式)
  • ¥15 怎么把多于硬盘空间放到根目录下
  • ¥15 Matlab问题解答有两个问题
  • ¥15 LCD12864中文显示
  • ¥15 在使用CH341SER.EXE时不小心把所有驱动文件删除了怎么解决
  • ¥15 gsoap生成onvif框架