Facebook oEmbed

www.facebook.com

Facebook is a registered oEmbed provider. Consumers such as WordPress, Slack, and other CMS or chat platforms can call its oEmbed endpoint to turn Facebook URLs into rich embeds — without writing custom integration code. Below are the endpoint details, supported URL patterns, and response formats for Facebook.

3
Endpoints
13
URL patterns
json
Format
No
Discovery
Endpoint
https://graph.facebook.com/v16.0/oembed_post
Supported URL patterns
https://www.facebook.com/*/posts/* https://www.facebook.com/*/activity/* https://www.facebook.com/*/photos/* https://www.facebook.com/photo.php?fbid=* https://www.facebook.com/photos/* https://www.facebook.com/permalink.php?story_fbid=* https://www.facebook.com/media/set?set=* https://www.facebook.com/questions/* https://www.facebook.com/notes/*/*/*
Formats: json
Endpoint
https://graph.facebook.com/v16.0/oembed_video
Supported URL patterns
https://www.facebook.com/*/videos/* https://www.facebook.com/video.php?id=* https://www.facebook.com/video.php?v=*
Formats: json
Endpoint
https://graph.facebook.com/v16.0/oembed_page
Supported URL patterns
https://www.facebook.com/*
Formats: json

Test a Facebook URL

See the live oEmbed response and a rendered preview.

Open URL Tester