Click here to Skip to main content
15,922,015 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Actually I want to access an element Text(i.e. Friends) from https://www.facebook.com/groups/FAW.2011/[^] and write it to my form i.e. Form1 textBox1.Text;
for this purpose I write a code like mentioned below but could not access it.

C#
string url="https://www.facebook.com/groups/FAW.2011/";

XmlDocument docs = new XmlDocument();
docs.LoadXml(url);

string name="Friends";
string show=Convert.ToString(docs.InnerText.Contains(name));
textBox1.Text=show;

Can anyone help me to modify so that I can access an element text (i.e. Friends) from the above mentioned url?
Posted
Updated 30-Nov-13 0:27am
v4

1 solution

I would recommend you to have a look to:
https://developers.facebook.com/[^]

I think they can help you more than we
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900