Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
How do i get gender and location of the people who liked the url posted on facebook
I visited the folowing

https://developers.facebook.com/docs/reference/fql/url_like/

I am able to get the Get Number of Facebook likes, Shares, Comments Count for Url or Website
C#
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);
}
Posted
Updated 14-Feb-14 4:14am
v3
Comments
Sergey Alexandrovich Kryukov 14-Feb-14 11:02am    
You forgot the age... and the phone number... :-)
—SA
surajemo 14-Feb-14 23:39pm    
:) Yes sir is it possible in the documentation it says you cannot use like this query you must use it with (This field is partially indexable and must be used in conjunction with the following fields: user_id.)
SELECT ... FROM url_like WHERE url = ...

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