Twitter Inline Oembeds

Easily embed Tweets inline in your web pages

NOTE: Twitter embedded content doesn't render at all if you're running tracking blockers.

Code and docs: https://github.com/autonome/twitter-inline-oembed

Usage

1. Add oembed.js to your project


npm install twitter-inline-oembed

2. Use the following format anywhere you want a Tweet embedded


<script src="/path/to/oembed.js?tweet=https://twitter.com/dietrich/status/834597640411152384"></script>
The Tweet will be embedded in your page, right where you put the <script> tag.

Example: Text Tweet

Example: Image Tweet

Example: Video Tweet