问题描述
我使用ruby开发一个命令行应用程序来更新Facebook状态。要做到这一点,我需要验证。 Facebook Api是否提供使用逗号线应用程序的身份验证?
检查facebook api没有支持命令行应用程序。
i am intrested in developing a command line application using ruby to update Facebook status. To do this i need to be authenticated. Does Facebook Api provides authentication using comman line applications?i checked facebook api there is no support for command line applications. so how should i proceed?
推荐答案
目前没有办法在没有与浏览器互动的情况下授权用户。
Currently there is no way to authorize user without their interaction with browser.
请参阅
See Windows, OS X and Linux native apps section of Authentication documentation
有另外一种身份验证方法,可以在没有浏览器的情况下工作,称为,目前仅支持有限数量的合作伙伴和不适用于一般用途。
There is additional way of authentication that will work without browser, it's called Authentication for Devices which is currently supported only for limited number of partners and not available for general use.
这篇关于Ruby命令行应用程序更新Facebook状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!