I am building a small personal homepage, and I wanted to get all my Facebook inbox messages there, instead of having to go to Facebook to read them. So, I searched for API all over the developers.facebook.com but I am not sure if this type of API exists.
I have checked several questions like this one getting inbox message via facebook API
but they are either un answered or some answers when I copy/paste that did not work out at all
This is only possible with an authenticated user with the
read_mailbox
permission. You can then make a graph API call like this:me/inbox
to retrieve an users inbox.
If you're using the PHP SDK you can call:
$facebook->api('me/inbox');
You might want to have a look on this: https://developers.facebook.com/docs/graph-api/reference/user