简体   繁体   English

如何使用Facebook WP8登录应用程序?

[英]How to login in app using facebook WP8?

i am trying to use my facbook account to login in windows phone 8 application .i need my basic account info like my name email and password etc to proceed in my application . 我正在尝试使用我的facbook帐户登录Windows Phone 8应用程序。我需要我的基本帐户信息,例如我的姓名电子邮件和密码等,才能在我的应用程序中进行操作。 but i could not find a simple solution or any help for this . 但是我找不到一个简单的解决方案或对此有任何帮助。 the solutions i found are too much complex for my understanding if any one give me a link or an anything . 如果有人给我链接或任何东西,我发现的解决方案太复杂了。 Thanks in advance 提前致谢

You can find a step by step solution in the Windows Phone Dev blog . 您可以在Windows Phone 开发博客中找到分步解决方案。

Should be as easy as installing the Facebook SDK for .NET from Nuget, setting some stuff on the App.manifest file and initiate the login process: 就像从Nuget安装适用于.NET的Facebook SDK一样简单,在App.manifest文件上设置一些内容并启动登录过程:

Facebook.Client.FacebookSessionClient.LoginWithApp()

As eshaham mentioned you should have the Facebook API to integrate with your application. 正如eshaham所提到的,您应该具有Facebook API与您的应用程序集成。 Have a look over here for the steps in detail. 这里查看详细步骤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM