0

I'm trying to get a specific post (by ID) with the C# Facebook-SKD-Client.

The Load-Method to load the x last entries works fine.

var client = new FacebookClient(Token);
dynamic parameters = new ExpandoObject();
parameters.limit = 10;
dynamic results = client.Get("hslu.ch/posts/", parameters);

Returns as expected the latest 10 Posts from the Posts of the Site.

Is there a way to load only post X with the ID Y_Z?

Christoph
  • 156
  • 1
  • 10

2 Answers2

1

How about this:

var client = new FacebookClient(Token);
dynamic results = client.Get("Y_Z", new ExpandoObject());

This would be the equivalent of a request to https://graph.facebook.com/{version}/{node-id}. More info in the docs

derabbink
  • 2,419
  • 1
  • 22
  • 47
0

And If you want to get the Specific Post's

  1. Likes count
  2. Comments Count
  3. Who likes
  4. Who Comments
  5. what comment posted
  6. Likes count for comments posted

Here you go How to get Number of shares and Likes for a URL using FacebookGraph API

Community
  • 1
  • 1