--- title: "Retrieve the X (formerly Twitter) Feed Embed Code" slug: "retrieve-the-x-formerly-twitter-feed-embed-code" description: "Learn how to embed your X (formerly Twitter) feed into your website using the Custom HTML Widget." updated: 2026-07-29T14:20:32Z published: 2026-07-29T14:20:32Z canonical: "www.civicplus.help/retrieve-the-x-formerly-twitter-feed-embed-code" --- > ## Documentation Index > Fetch the complete documentation index at: https://www.civicplus.help/llms.txt > Use this file to discover all available pages before exploring further. # Retrieve the X (formerly Twitter) Feed Embed Code ## Instructions 1. **Copy** your X (formerly Twitter) Profile URL:![A browser tab showing a new tab with a URL for X.com and navigation buttons.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Copy%20X%20Profile%20URL%20-%20MWE.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A24%3A28Z&se=2026-11-21T22%3A24%3A28Z&sr=b&sp=r&sig=8URjx1N7pPvuIzSfROg9EFP6vXeoiO4X4cUm41ZYcPE%3D) > [!WARNING] > **Note**: > > This will be **HTTPS://x.com/[yourxhandle]**. 2. Enter the URL for your X page, such as https://www.x.com/cptweets2, on the [X Publish page](https://publish.twitter.com/#). Then press **Enter** on your keyboard: ![A highlighted input field for embedding a link on the X platform, asking for user input.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Enter%20URL%20for%20X%20Page%20-%20MWE.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A24%3A28Z&se=2026-11-21T22%3A24%3A28Z&sr=b&sp=r&sig=tTffrz9g4t3ROAVmdjDL3cymNNvOpPd1hyhTq8ffT4U%3D) 3. Navigate to, and select the **Embedded Timeline** option: ![Options for embedding content on the X platform, highlighting the Embedded Timeline feature.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Embedded%20Timeline%20Selection%20on%20X%20-%20MWE.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A24%3A28Z&se=2026-11-21T22%3A24%3A28Z&sr=b&sp=r&sig=jK4DZ5%2BNH7cjnLBGPb5121XzEej8Vz%2BlR2OFZoC6rn0%3D) 4. Locate and click the **Copy Code** button: ![Instructions for embedding X content with display options and a highlighted Copy Code button.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Copy%20Code%20Button%20for%20Embedding%20X%20Content%20-%20MWE.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A24%3A28Z&se=2026-11-21T22%3A24%3A28Z&sr=b&sp=r&sig=v7KO1MSpHm8v8EJNup0YHbx1nGiKBrqcZm1zsz%2BKOA0%3D) 5. You should now have the HTML to embed the X content feed into the [Custom HTML Widget](/municipal-websites-evolve/docs/add-modify-the-custom-html-widget-on-your-page). Uniform Resource Locator Hypertext Transfer Protocol Secure. Hypertext Markup Language. The language used to define the content of the site in a structurally meaningful manner.