.NET和Facebook整合 [英] .NET and Facebook Integration

查看:155
本文介绍了.NET和Facebook整合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建一个网站,我想Facebook的个人资料与我的应用程序的用户进行整合。也就是说,所有的注册用户可以在我的网站上查看其他注册人的Facebook个人主页。我能做到这一点?是否有任何可用的API,Facebook的,我可以用.NET code。使用来实现这一目标?

I am creating a website, and I want to integrate Facebook profile with my application users. That is, all the registered users can view facebook profiles of other registered people in my website. Can I do that? Is there any Facebook API available which I can using with .NET code to achieve this?

推荐答案

一对Facebook和.NET上最好的图书馆是Facebook的C#SDK。

One of the best libraries available for Facebook and .NET is the Facebook C# SDK.

HTTP://facebooksdk.$c$cplex.com/

有与ASP.NET MVC,Silverlight和WebForms的整合Facebook应用程序一对夫妇的示例项目。

There are a couple sample projects for integrating your Facebook app with ASP.NET MVC, Silverlight, and WebForms.

该包是可用的NuGet为好。

The package is available from NuGet as well.

一个该库的很好的特性是它的使用动态对象。本文介绍了在使用强类型的动态方法的优势。

One of the nice features of this library is it's use of dynamic objects. This article explains the advantages of using dynamic over strongly typed methods.

http://ntotten.com/2010 / 09 /动态对象和最的Facebook-C-SDK /

使用Json.NET库,序列化的动态响应,以POCO是非常简单的。

Using the Json.NET library, serializing the dynamic responses to POCO is very straightforward.

这篇关于.NET和Facebook整合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆