Updated providers.json to use X instead of Twitter following rebrand and schema change (#18767)

This commit is contained in:
Hammy Havoc
2025-09-26 11:06:50 +01:00
committed by GitHub
parent 04721c85e6
commit 688f635b59
2 changed files with 7 additions and 5 deletions

1
changelog.d/18767.misc Normal file
View File

@@ -0,0 +1 @@
Update OEmbed providers to use 'X' instead of 'Twitter' in URL previews, following a rebrand. Contributed by @HammyHavoc.

View File

@@ -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"
}
]
},