开发者

Facebook Graph API: how do I retrieve my own posts?

I'm trying to write a program which retrieves my own posts and comments from facebook - I'm able to login and retrieve information about "me", but I got no idea how to get the posts I've written. I find the graph API documentation very confusing.

I'm using a c#/WPF assembly which lets me retrieve the information about me usin开发者_StackOverflow中文版g:

  fbApp.GetAsync("me", (val) =>
  {
    var result = (IDictionary<string, object>)val.Result;
    Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal,
                        new Action(delegate() { InfoBox.ItemsSource = result; }));
  });

Using which graph API I can retrieve my own posts and/or comments?


You simply retrieve your Feeds by a GET Request to

http://graph.facebook.com/me/feed

for comments

http://graph.facebook.com/[post-id]/comments
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜