- πΈπ°Slovakia kaszarobert
Since the last comment, in 2021 Facebook completely changed its OEmbed API which resulted a huge change in module version v3, so I think there's nothing left to do here by now.
Similarly to the way media_entity_twitter supports the Twitter Oauth API to retrieve additional metadata, it would be useful to support the Facebook Graph API to retrieve properties such as a comment message (using the "/
_" endpoint).
Attached patch implements Graph API support in a similar way to media_entity_twitter - adds the option and credentials properties to the media source configuration. Also in ::getMetadata() it checks a resource URL for "?comment_id=" and if present, uses the API to obtain the comment message, created_time and id properties. That is the only API integration in the patch currently - more could be added.
Closed: won't fix
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Since the last comment, in 2021 Facebook completely changed its OEmbed API which resulted a huge change in module version v3, so I think there's nothing left to do here by now.