开发者

Proper way to login into facebook from a c++ application?

开发者 https://www.devze.com 2023-03-06 21:55 出处:网络
Users can register on my webpage using either a new usr/pass or their facebook credentials. But I also have a standalone desktop c++ application. What would be the proper way to let them log-in in the

Users can register on my webpage using either a new usr/pass or their facebook credentials. But I also have a standalone desktop c++ application. What would be the proper way to let them log-in in the d开发者_如何学Pythonesktop application using facebook credentials?


You're supposed to embed a web browser to make a request to https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=http://www.facebook.com/connect/login_success.html&response_type=token and listen for the URI to change to get your token.

More on http://developers.facebook.com/docs/reference/dialogs/oauth/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号