az-digital / az_quickstart

UArizona's web content management system built with Drupal 10.
https://quickstart.arizona.edu
GNU General Public License v2.0
30 stars 20 forks source link

Embedded instagram posts #963

Open trackleft opened 3 years ago

trackleft commented 3 years ago

Motivation

Would like a way to utilize the oembed features in QS2 to display and manage instagram posts.

Proposed Resolution

Create new media type called Instagram that uses an oembed field.

Describe alternatives you've considered

Embedding instagram posts in the normal way that requires elevating permissions because of text filters. This tutorial explains https://drupal-media.gitbooks.io/drupal8-guide/content/modules/media_entity/instagram.html

Roles and Permissions considerations

A clear and concise description of how each of the following roles would be impacted by this change:

trackleft commented 3 years ago

Further documentation here: https://developers.facebook.com/docs/graph-api/reference/instagram-oembed/

zsaenz commented 3 years ago

Related to issue with Migration. az_media currently crashes when encountering a media type of embedded Instagram. Tested by removing the three found instagram instances from a test site to complete a media migration.

joeparsons commented 3 years ago

Looks like the new API requires an access token / credentials which will probably complicate how we use it in Quickstart...

trackleft commented 3 years ago

I saw similar issues with tweets during media migration.