Skip to content

Replace twitter.com with twitter-og.com when you share a tweet to show previews again!

Notifications You must be signed in to change notification settings

MatthewStanciu/twitter-og

Repository files navigation

twitter-og

Twitter shut down public access to the platform on June 30th, 2023, along with open graph data. This made me very sad because I share a lot of links to Twitter, and now they all look like this:

Screenshot of a link in iMessage with no OG data

Thankfully, there’s an API for embedding tweets that’s still publicly accessible, which we can use to reconstruct the open graph data, so the tweets you share can look like this again:

Screenshot of a link in iMessage with the caption 'I will be frontlining Glastonbury' and with a picture of a bear jumping in shallow water

To use it, simply replace twitter.com with twitter-og.com in the link to any Twitter post. Clicking on a twitter-og.com link will still take you to the tweet.

About

Replace twitter.com with twitter-og.com when you share a tweet to show previews again!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published