Facebook C#Api:从帖子中获取评论和喜欢的数据

时间:2011-03-25 18:43:18

标签: facebook-c#-sdk

我尝试了以下内容:

这是我要检索的帖子:http://www.facebook.com/TeapotParty/posts/134801493258490

var fbc = new FacebookClient(accessToken);
dynamic post = fbc.Get("/TeapotParty/posts/134854426586530");

dynamic streams = fbc.Query("select text from comment  where post_id  = " + 134801493258490);

1 个答案:

答案 0 :(得分:0)

想出来,但需要以该用户身份登录

dynamic stream = fbc.Query("select post_id from stream where permalink  = 'http://www.facebook.com/TeapotParty/posts/134801493258490'");"select post_id from stream where permalink  = 'http://www.facebook.com/TeapotParty/posts/134801493258490'");