Updated providers.json to use X instead of Twitter following rebrand and schema change (#18767)
This commit is contained in:
1
changelog.d/18767.misc
Normal file
1
changelog.d/18767.misc
Normal file
@@ -0,0 +1 @@
|
||||
Update OEmbed providers to use 'X' instead of 'Twitter' in URL previews, following a rebrand. Contributed by @HammyHavoc.
|
||||
@@ -1,14 +1,15 @@
|
||||
[
|
||||
{
|
||||
"provider_name": "Twitter",
|
||||
"provider_url": "http://www.twitter.com/",
|
||||
"provider_name": "X",
|
||||
"provider_url": "https://x.com/",
|
||||
"endpoints": [
|
||||
{
|
||||
"schemes": [
|
||||
"https://twitter.com/*/moments/*",
|
||||
"https://*.twitter.com/*/moments/*"
|
||||
"https://x.com/*",
|
||||
"https://x.com/*/status/*",
|
||||
"https://*.x.com/*/status/*"
|
||||
],
|
||||
"url": "https://publish.twitter.com/oembed"
|
||||
"url": "https://publish.x.com/oembed"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user