我需要创建一个Facebook应用程序才能使用Facebook登录? [英] Do I need to create a Facebook app to use Facebook Login?

查看:210
本文介绍了我需要创建一个Facebook应用程序才能使用Facebook登录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在阅读和重新阅读大量信息,但我仍然不清楚在我的应用中使用Facebook登录访问非Facebook相关网络服务所需的内容。许多信息和不清楚今天仍然有效,什么不是。我需要一些帮助。

I've been reading and re-reading lots of information but I'm still a bit unclear what is required for using Facebook Login in my app to access a non-Facebook related web service. Lots of info and unclear what is still valid today and what not. I need some help.

我正在GAE上构建一个Web服务,我有一个应用程序iOS和更高版本的Android应用程序。我想让用户使用他们的Facebook帐户登录,然后通过他们的手机应用程序使用我的网络服务(在GAE上)。我的网络服务和应用程序在Facebook之后没有任何与Facebook相关的任何事情 - 只有登录时才能捎带,不必为我的服务注册一个新帐户。

I'm building a web service on GAE and I have an app iOS and later an Android app as well. I would like to let users log in with their Facebook account to then use my web service (on GAE) through their phone app. My web service and the app does not do anything related to Facebook after that - only piggy-backing on the login to not have to sign up a new account for my service.

我需要一个Facebook应用程序吗?请解释一下为什么或为什么不这样我就明白它是如何组合的。

Do I need a Facebook app for this at all? Please explain a bit why or why not so I understand how it fits together.

非常感谢!

推荐答案

您可以使用提供联合登录的 Google身份识别工具包包括Facebook的网站,以及iOS和Android应用程序。

You can use the Google Identity Toolkit which offers federated login including Facebook for websites, as well as for iOS and Android apps.

您只需要在Facebook上注册为Facebook开发人员,在其开发人员控制台中创建一个应用程序意味着只需注册一个,而不是实际写一个Facebook特定的一个),以获取和交叉注册必要的凭据:

You just need to register with Facebook as a Facebook developer, create an app in their developer console (which means just registering one, not actually writing a Facebook-specific one) to obtain and cross-register the necessary credentials:

  • for iOS apps: https://developers.google.com/identity/toolkit/ios/#facebook
  • for Android apps: https://developers.google.com/identity/toolkit/android/#facebook
  • for websites: https://developers.google.com/identity/toolkit/web/required-endpoints#facebook

这篇关于我需要创建一个Facebook应用程序才能使用Facebook登录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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