Get comments on my company Facebook page and display them on my Laravel application
Hi all,
Do you know if it's possible (and how to do it) to redeem the comments/posts users leave on my Facebook page and display them on my Laravel application ?
Ultimately, the administrators of the application should approve the posts they want to display, but the "hardest" part now is how to get the posts/comments from the Facebook API.
I'm just finding documentation to sign in using Facebook but in this case I don't want it because is a presentation page.
@mariomacedo You’ll need to authenticate with Facebook to allow a user to link their Facebook Page with your application. You’ll then get a token that you can make Graph API requests as that Page.
As for comments, comments on what? Everything in the Graph API has an object ID, so you’d need to know the ID of a particular object (i.e. a Post, Photo) before you could fetch photos from it. You can’t just say, “Give me all comments on anything on my Page”. I imagine because it goes against the core functionality of Facebook’s Page Manager.