Fixed "twitter" BbCodeMediaSite missing x.com in match_urls

PaulB

Well-known member
Affected version
2.2.13
We're starting to see Twitter links that use x.com instead of twitter.com posted on our forums, despite the fact that x.com redirects to twitter.com. The "Share" button on tweets now gives an x.com URL. As such, match_urls should be updated to include x.com.

Other XF customers also appear to be encountering this issue: https://xenforo.com/community/threads/twitter-now-x-no-longer-auto-embedding.215985/

Temporary workaround:
SQL:
update xf_bb_code_media_site set match_urls = 'twitter.com/*/status/{$id}\ntwitter.com/statuses/{$id}\nx.com/*/status/{$id}\nx.com/statuses/{$id}' where media_site_id = 'twitter';
Since this changes a media site associated with the core XF add-on, it'll be overwritten on the next update. This avoids the need to create a duplicate media site that can never be deleted without breaking existing posts, and it ensures that future updates to the affected media site will be received alongside future XF updates. As long as you're comfortable with SQL, this is arguably a safer workaround without the long-term side effects of manually duplicating the media site.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.14).

Change log:
Update Twitter BB code media site to support x.com URLs and update some branding to X, rather than Twitter.
There may be a delay before changes are rolled out to the XenForo Community.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.14).
I will assume this really is a bot, because I believe Twitter is one of the largest social media sites online, and they changed to x.com quite some time ago.
 
Back
Top Bottom