Fetch Email Id and name of the user who commented in my facebook group or page

185 Views Asked by At

I have a Facebook app which has Facebook login as a product. My requirement is to fetch the comments on my posts in group/page and view the email and name of the user who has commented.

I'm using graph API to fetch the comment from a post with

{post-id}/comments

Further more I can fetch the user from each comment by

{comment-id}?fields=from

although this works when a user has given permission to my app. I'm unable to get the email of the user from the above endpoint.

Also how can I mandate that the users in my Group/Page must give permissions to my app if I'm a group admin/page admin.

0

There are 0 best solutions below