I'm trying to integrate the Direct Messages webhook for Instagram Graph API but I need more information about the Direct Message, more specifically about a Share. For example, when someone sends a Share to the user, I receive this type of webhook:
"message": {
"mid": "aWdfZAG1f....",
"attachments": [{
"type": "share",
"payload": {
"url": "https://lookaside.fbsbx.com/ig_messaging_cdn/...."
}
}]
}
The payload only has the image URL of the post, nothing else.
I need to know at least the user ID/username of the owner of that post (the user who posted it).
Is there a way I can achieve this?
Thanks in advance!