---
title: "💭 Twitter Requires full image_urls"
description: "!None"
date: 2023-10-17
published: true
tags:
  - webdev
  - meta
  - twitter
  - thought
template: link
---


<!-- embed not found: None -->
![[None]]

Yet again twitter cards were causing me pain.  This time it was me not realizing that they require full urls, and not relative or abolute urls.

> This was not working

``` html
    <meta name="twitter:image" content="/shot/?path={{ request.url|quote_plus }}" content-type='image/png'/>
```

> This does work with a full url

``` html
    <meta name="twitter:image" content="https://thoughts.waylonwalker.com/shot/?path={{ request.url|quote_plus }}" content-type='image/png'/>
```

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
