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

后端 未结 6 799
死守一世寂寞
死守一世寂寞 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:53

    absolutely yes, but, we'll need to know which programming language you want to use before we can give much advice.

    For example, it's possible using httpclient for java and python to encapsulate all the functionality you need, others can chime in with libraries that they use for C, C++, perl, etc.

    [edit]
    search for httpclient and how it's used with python. if you run wireshark on your system, you will be able to watch the data interchange (if you don't understand the http protocol completely) and then implement that in your code.
    [/edit]

提交回复
热议问题