开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜