In general, you can do 2 things here. The first thing you can do is called web scraping. So you can load the html source with the following code:
var request = WebRequest.Create("http://example.com"); var response = request.GetResponse(); using (Stream responseStream = response.GetResponseStream()) { StreamReader reader = new StreamReader(responseStream); string stringResponse = reader.ReadToEnd(); }
stringResponse then contains the HTML source of the http://example.com website
However, this is probably not what you want to do. Facebook has an SDK that you can use to download this kind of information. You can read about it on the following pages.
http://developers.facebook.com/docs/reference/api/user/
If you want to use the FaceBook API, I think it's worth changing your question or asking a new question about it, since it is quite complicated and requires some authorization and other encodings. Nevertheless, this is the best way, since it is unlikely that your code will be broken every, and it protects the privacy of the people from whom you want to receive information.
For example, if you request me using api, you will get the following line:
{ "id": "1089655429", "name": "Timo Willemsen", "birthday": "08/29/1989", "education": [ { "school": { "id": "115091211836927", "name": "Stedelijk Gymnasium Arnhem" }, "year": { "id": "127668947248449", "name": "2001" }, "type": "High School" } ] }
You can see that I am Timo Willemmen, 21 years old, and studied @Stedelijk Gymnasium Arnhem in 2001.