I am using the comment-id to get the from field and using the page access token:
[comment-id]?fields=from&access_token=[PAGE_ACCESS_TOKEN]
But I am not getting the desired output, I am getting back the comment-id only
{
"id": "[comment-id]"
}
I am not getting what mistake I am making here.
Any help is appreciated. TIA
Use the
{pagepost-id}_{comment-id}format instead.Example Request:-
Response:-
Additionally, To get all the comments made on a Facebook page post you can use the following API call:-
Request:-
Here in the URL, 111282025112345 is
page_idand 222277054012345 ispost_id.Response:-
Hope this helps.