Problem/Motivation
This document explains how to use the new Facebook oEmbed endpoints. These endpoints are replacing the old oEmbed endpoints which are being deprecated on October 24, 2020.
If you are migrating off of the old endpoints, make sure to read this document in its entirety since the endpoint paths and their requirements have changed.
You may receive intermittent HTTP 400 errors from the legacy endpoints that will be deprecated on October 24, 2020. These are part of the internal migration process and can be resolved by retrying your request. More information below.
Media entity Instagram 3.0.0 was released 17 Sep 2020 at 10:26 EEST
https://www.drupal.org/project/media_entity_instagram/releases/3.0.0
oEmbed Endpoints for Embeddable Facebook Content (Legacy)
https://developers.facebook.com/docs/plugins/oembed-legacy
Facebook will shut down its current oEmbed API in October 24, 2020. From that point, the 8.x-1.x and 8.x-2.x will not work anymore and will be discontinued.
https://wptavern.com/upcoming-api-change-will-break-facebook-and-instagr...
https://www.drupal.org/project/media_entity_instagram
Varbase Media is using "drupal/media_entity_instagram": "~2.0",
Proposed resolution
Switch to "drupal/media_entity_instagram": "~3.0",
Make sure that we do have an upgrade path for configs
Follow the new Facebook oEmbed
Remaining tasks
Update the media_entity_instagram moduleChange default configUpdate hookTest- Release
User interface changes
N/A
API changes
A new Facebook API
Data model changes
Researching the oEmbed Endpoints for Embeddable Facebook Content (Legacy)
https://developers.facebook.com/docs/plugins/oembed-legacy
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | Add-Instagram-dev-drupal8c1- The provided URL does not represent a valid oEmbed resource.png | 122.65 KB | rajab natshah |
| #12 | Instagram-settings-dev-drupal8c1.png | 86.9 KB | rajab natshah |
| #12 | Add-Instagram-dev-drupal8c1.png | 108.52 KB | rajab natshah |
Comments
Comment #2
rajab natshahComment #3
rajab natshahComment #4
rajab natshahComment #5
rajab natshahComment #9
rajab natshahComment #11
rajab natshahComment #12
rajab natshahIf you test with Drupal 8 core only
The Facebook credentials have not been configured. Please visit the settings form .

The provided URL does not represent a valid oEmbed resource.
To use this module you need a Facebook developer account. In the your Facebook developer dashboard you have to create an App that uses the oEmbed API.

they do have a new custom field name
Instagram URL
field_media_oembed_instagram
Text (plain)
In Varbase we use
Instagram
field_media_instagram
Text (plain)
No change of storage configs format in varbase_media_instagram
The change is in the source, and form Display and view Display
The sourece was changed from
instagramtooembed:instagramAny custom code should follow the new Facebook - Instagram API Standard for the new oEmbed
Comment #13
rajab natshahAftar having a config for APP ID and App secret
Comment #16
rajab natshahComment #17
rajab natshahMany issues
and a slow load of pages
Could not retrieve the remote URLeverywhere used in fields
No issues with CKEditor Media Embed plugin
The update hook is doing what is wanted to update the source
Comment #18
rajab natshahComment #19
rajab natshahComment #20
rajab natshahComment #21
rajab natshah