开发者

How can I access social networking sites from a .NET WinForms application?

开发者 https://www.devze.com 2023-01-30 01:07 出处:网络
Is there any way that exists 开发者_运维问答to access Facebook from a .NET WinForms application?

Is there any way that exists 开发者_运维问答to access Facebook from a .NET WinForms application?

I want to develop an application in .NET (either C# or VB.NET) which can access Facebook.


This is a nice idea... There are actually several ways, since facebook is publishing the service as API, you can try researching their API.

However the most common way of getting a page is either using HttpWebRequest/HttpWebResponse or WebClient. It will download the HTML code where the HTML will load another page (I am guessing here, since facebook is heavily using ajax).

So after retrieving HTML page from facebook, what you need to is checking what page/service is facebook trying to retrieve, then you can get it using above method. This is hardcore programmer though...


Here is an example of an application doing just that.

Silverlight Facebook client

After checking it out to see an application doing it, execute the search suggested above to start figuring out how to do it yourself.

0

精彩评论

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