How to embed an X (Twitter) feed on a website automatically?

Want to display live posts from X (formerly Twitter) directly on your site? Here’s a quick guide based on this detailed tutorial.

Steps to Embed an X Feed with the Basic API:

  1. Get your X API credentials – Create a developer account on X and generate the free Basic API key and secret.
  2. Connect your account in EmbedSocial – Add X as a source inside the EmbedSocial dashboard and paste your API credentials.
  3. Choose a widget template – Pick from grids, carousels, or masonry layouts to match your site’s design.
  4. Customize – Adjust fonts, colors, and auto-refresh options so new tweets appear instantly.
  5. Copy and paste the code – Grab the one-line embed code and insert it into your site’s HTML or CMS (WordPress, Shopify, Webflow, etc.).

Why Use the Basic API?
• Direct, reliable connection to X—no third-party scraping.
• Automatic updates as soon as new posts go live.
• Compliance with X’s display guidelines.

Perfect for brands that want to showcase real-time conversations, event hashtags, or their own account feed.

Have you embedded an X feed before?

Posted Sep 23, 2025, 12:43 PM UTC

20
Loading comments…