是否可以使用facebook oauth 2.0身份验证创建桌面应用程序而无需浏览器交互? [英] Is it possible to create a desktop app using facebook oauth 2.0 authentication without requiring a browser interaction?

查看:83
本文介绍了是否可以使用facebook oauth 2.0身份验证创建桌面应用程序而无需浏览器交互?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有可能使用Facebook进行身份验证但不需要浏览器的客户端应用程序(我的意思是代码中没有嵌入式浏览器)?用户输入用户名/密码,并仅允许使用客户端应用程序访问应用程序.

Is it possible to have a client app which can authenticate using Facebook but without requiring browser(I mean no embedded browser in the code)?? User inputs the username/password and allow access to app using the client app only.

任何建议都会有很大帮助.

Any Suggestions will be of great help.

谢谢, 塔拉·辛格(Tara Singh)

Thanks, Tara Singh

我已经在Python中创建了需要浏览器交互的应用程序.现在,我想摆脱它,而仅使用我的客户端应用程序来做到这一点.任何链接/教程吗?

I have created app in Python which requires browser interaction. Now I want to get rid of that and do it using my client app only. Any Links/Tutorials??

再次感谢

推荐答案

实际上答案绝对不是.

为了授权您的应用,用户必须在facebook网站上输入其facebook用户名和facebook密码,为此您需要使用Web浏览器.无法跳过此步骤(您无法询问其用户名和密码,然后将其自动交换为访问令牌).您可以在此处了解更多信息.

In order to authorize your app a user has to enter their facebook username and facebook password on facebook site and you need web browser for this. There is no way to skip this step (you can't ask what their username and password are and then exchange it automatically for access token). You can read more about this here.

这篇关于是否可以使用facebook oauth 2.0身份验证创建桌面应用程序而无需浏览器交互?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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