Closed (outdated)
Project:
oEmbed
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2020 at 13:16 UTC
Updated:
20 Oct 2025 at 09:11 UTC
Jump to comment: Most recent
As of October 24, 2020, Facebook changed their oembed API and video embeds (and probably other FB embeds) have broken. See this announcement on Facebook.
Comments
Comment #2
Rob_Feature commentedHope this helps someone....basically the new API requires adding an appid and app secret into the request for the oembed data. This isn't a final solution, but it works as a quick fix. In your oembed.module file, find the oembed_get_data() function and add some code to tack on these parameters for facebook_video or facebook_post requests (it stores the appid and secret as variables in the database)...it'll end up looking something like this:
You also need to change your endpoints for facebook video/posts (at /admin/config/media/oembed/provider) to:
Ideally, we'd add a couple form fields in the UI (just for the facebook-related providers) to gather this facebook data, then save them as a variable....
Comment #3
dries arnoldsThis is also true for Instagram.
Comment #4
jshimota01 commentedThis has become a nightmare - users are running 'revert site' and 'switchold' to move back to the old interface which is interacting and causing breaks - either you get 1/2 your users one way, or 1/2 the other. the desire to have this feature is quickly loosing the battle with the maintenence. And add now Parler... sigh.
Comment #5
Rob_Feature commentedOur Facebook embeds are totally dead now (even after the updates above that were previously working). Now the Facebook Oembed API needs to be approved, but we can't seem to figure out how to get approval based on our use with this module.
Anyone else?
Comment #6
Rob_Feature commentedJust an update: Got oembed approved by Facebook (going thru the Facebook App approval process) and it now is up and running again. So this new code works correctly as of today.
Comment #7
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.