[英]What kind of authorization I should use for my facebook application
I am building a social reader Facebook application using Django where I am using Google Data API (Blogger API). 我正在使用Django构建社交阅读器Facebook应用程序,而我正在使用Google Data API(Blogger API)。 But I am unable to deal with the authorization step to use the Google API (currently using ClientLogin under development).
但是我无法处理使用Google API的授权步骤(当前正在使用开发中的ClientLogin)。
I tried to read the OAuth documentation but couldn't figure out how to proceed. 我试图阅读OAuth文档,但不知道如何进行。 I don't want my users to provide any login credentials for google.. which makes the app completely absurd.
我不希望我的用户为google提供任何登录凭据。这会使该应用完全荒唐。
So, can anyone help me on my project and tell me what kind of authorization I should actually use for google API and how ? 因此,任何人都可以在我的项目上为我提供帮助,并告诉我我应该为Google API实际使用哪种授权以及如何使用? (I am using
gdata
lib) (我正在使用
gdata
lib)
Django has some packages like django-facebook
or django-social-auth
which manage the authentication part of facebook login for you. Django有一些软件包,例如
django-facebook
或django-social-auth
,它们可以为您管理facebook登录名的身份验证部分。 You could either use these in your project, or look at the code there as a good starting point to learn about FB OAuth implementation. 您可以在项目中使用这些代码,也可以在此处查看代码作为学习FB OAuth实现的一个很好的起点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.