I had a strange behavior in the API: I want to list the shares of shared messages, so I request /<post_id>/sharedposts?fields=shares to get the number of shared sharing sections.
The answer that I get in this way is a list of such objects:
{ "shares": { "count": 1 }, "id": "136178893505927_155012298289253" },
However, if I request /136178893505927_155012298289253/sharedposts , I get
{ "data": [ ] }
Which is strange, as I expected one object to be in the response.
Also, if I request /<post_id>/sharedposts?fields=shares,sharedposts , I get a weird list containing shares.count higher than 0, and not sharedposts content in some cases, and a sharedposts array containing fewer elements, than shares.count in some others.
I suppose this is due to the fact that generic posts are not displayed on my profile, but can't I see them since the original post was posted on a page that I manage?
I am trying to build a stock chart to determine if a shared resource is adding a shared resource than others to the shared sharing account, but it seems like this is not possible in the API ... or am I missing something?
source share