Support Graph API

Created on 24 July 2019, over 5 years ago
Updated 5 September 2023, over 1 year ago

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.

✨ Feature request
Status

Closed: won't fix

Version

4.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada bgilhome Victoria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΈπŸ‡°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.

Production build 0.71.5 2024