通过浏览器原生的Facebook登录体验 [英] Native Facebook Login experience via browser

查看:533
本文介绍了通过浏览器原生的Facebook登录体验的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到了这个问题的几种口味绕来绕去,但没有具体的确切回答,也没有试图让我自己。

I have seen several flavours of this question going around but nothing exactly specific nor answered so trying it myself.

我想建立通过浏览器进入我的Facebook网站,应用程序,将要求用户不记得自己的密码尽可能Facebook的登录体验。这意味着,如果

I am trying to build a Facebook login experience via the browser into my Facebook-based app that will require the users to not remember their passwords as much as possible. This means that if


  • 通过他们自己的桌面浏览器登录并已登录,只会要求他们'OK'的权限

  • 从他们的手机浏览器登录,并通过各自的原生应用(Android / iOS版)登录,便索性将其重定向到本机应用程序,请为应用程序的权限,将用户重定向回的成功页面浏览器

  • 他们从任何浏览器登录,并以任何形式目前尚未登录到Facebook上,他们必须输入自己的密码和验证(无论是本地还是通过浏览器,这并不重要)

我知道如何第一个可以做到 - 这是用JS SDK pretty简单。第二点是强硬一点。

I know how the first can be done - that is pretty straightforward using the JS SDK. The second point is the tougher bit.

我知道为Android现有的自定义URL方案和iOS,但没有专门提到真正怎么说,可用于Facebook应用程序的认证和/或授权。有没有人对如何可以做到这一点任何想法?

I am aware of existing custom URL schemes for Android and iOS but nothing specifically really mentions how that can be used for authentication and/or authorisation of Facebook apps. Does anyone have any ideas on how this can be done?

谢谢!

推荐答案

我觉得你在找什么(至少为Android)已经开始在某些架构的意图,将打开Facebook的应用程序。

I think what you are looking for (at least for Android) is starting an Intent on certain schema that will open Facebook app.

这是在这里得到解答<一个href=\"http://stackoverflow.com/questions/13107857/android-facebook-intent-to-show-profile-with-class-com-facebook-katana-profileta/13107858#13107858\">Android Facebook的意图显示与类com.facebook.katana.ProfileTabHostActivity配置文件不工作了

这篇关于通过浏览器原生的Facebook登录体验的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆