Facebook API: how can I get my own posts?

I am trying to write a program that extracts my own posts and comments from facebook - I can enter and receive information about "me", but I had no idea how to get the messages I wrote. I am very poorly versed in the API documentation.

I use the C # / WPF assembly, which allows me to get information about me using:

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

What graphical API can I use to get my own posts and / or comments?

+3
source share
1 answer

You just upload your feeds with a GET request to

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

for comments

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

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


All Articles