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.
精彩评论