Is it possible to create a desktop app using facebook oauth 2.0 authentication without requiring a browser interaction?

后端 未结 6 796
死守一世寂寞
死守一世寂寞 2021-02-02 00:16

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/passwo

6条回答
  •  伪装坚强ぢ
    2021-02-02 00:47

    I know this is an old question and it's answered but I thought 'horse mouth GET'. From Facebook: https://developers.facebook.com/docs/authentication/...

    Our OAuth 2.0 implementation does not include explicit desktop app support. However, if your desktop app can embed a web browser (most desktop frameworks such as .NET, AIR and Cocoa support embedding browsers), you can use the client-side flow with one modification: a specific redirect_uri. Rather than requiring desktop apps to host a web server and populate the Site URL in the Developer App, we provide a specific URL you can use with desktop apps: https://www.facebook.com/connect/login_success.html...[cont]

提交回复
热议问题