WebClient web = new WebClient(); string url = string.Format("https://api.facebook.com/method/fql.query?query=SELECT url, share_count, like_count, comment_count, total_count, click_count FROM link_stat where url='" + urltxt + "'"); string response = web.DownloadString(url); DataSet ds = new DataSet(); using (StringReader stringReader = new StringReader(response)) { ds=new DataSet(); ds.ReadXml(stringReader); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)