Skip to content

Commit

Permalink
Update facebook & instagram oembed version (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
ALazyMeme authored Aug 1, 2021
1 parent 30dc016 commit 74c1fed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Updated Facebook & Instagram endpoints to oembed v10. (#201)

## 1.2.1

- MaxThumbnailSize is now configurable using the `max-thumbnail-size` config value. (#195)
Expand Down
8 changes: 4 additions & 4 deletions data/oembed/providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"https://www.facebook.com/questions/*",
"https://www.facebook.com/notes/*/*/*"
],
"url": "https://graph.facebook.com/v9.0/oembed_post",
"url": "https://graph.facebook.com/v10.0/oembed_post",
"discovery": false
},
{
Expand All @@ -64,12 +64,12 @@
"https://www.facebook.com/video.php?id=*",
"https://www.facebook.com/video.php?v=*"
],
"url": "https://graph.facebook.com/v9.0/oembed_video",
"url": "https://graph.facebook.com/v10.0/oembed_video",
"discovery": false
},
{
"schemes": ["https://www.facebook.com/*"],
"url": "https://graph.facebook.com/v9.0/oembed_page",
"url": "https://graph.facebook.com/v10.0/oembed_page",
"discovery": false
}
]
Expand Down Expand Up @@ -168,7 +168,7 @@
"https://www.instagram.com/tv/*",
"https://www.instagr.am/tv/*"
],
"url": "https://graph.facebook.com/v9.0/instagram_oembed",
"url": "https://graph.facebook.com/v10.0/instagram_oembed",
"formats": ["json"]
}
]
Expand Down

0 comments on commit 74c1fed

Please sign in to comment.