开发者

Facebook allow access url and redirect for login

HI,

How can I programatically login facebook. I have an application - i need a url for optaing the facebook login p开发者_StackOverflow社区age. After that do i have to do a getResponse()? WHy? What do I have to do in order to obtain the token and have a correct allow in order to login?


You should use an existing library like the Facebook C# SDK (preferred) or the official Facebook Developer Toolkit. The official toolkit isn't updated all that often so you should use the C# SDK which is much more active.

Don't try to code it from scratch. Your asking for tons of problems if you do.

Edit Since I wasn't totally clear, I'll say that these frameworks handle the handshakes, tokens, building the API requests and listening to the response all automatically. Don't try to handle it yourself. Someone else already did the hard work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜