How can we get comments on the photo

I am working on a C # .network web application using the Facebook API to retrieve data from my own account. I need to get all the comments posted on my album or photos, I tried the following fql request but it returns an empty string.

string strGetComments = api.Fql.Query("SELECT  post_id, fromid, time, text, 
       id FROM comment WHERE object_id IN
       (SELECT object_id FROM photo WHERE aid IN 
       ( SELECT aid FROM album WHERE owner=" + UserID + "))");

I am very grateful if anyone can give me some pointers.

Thank.

+3
source share
1 answer

, UserID, , , . UserID fql.tables. #, . , fql -, .

string strGetComments = https//www.facebook.com/?fql= 

Facebook

, .

0

Source: https://habr.com/ru/post/1777390/


All Articles