How do I show/pull twitter images in pm.visualizer

My question:
How do I show/pull twitter images in pm.visualizer?

To my understanding “media_keys” are for twitter images, and media.

How I found the problem:
Media keys do show in the Json response, but don’t know how to pull them into visualizer.
this is an example of the pretty json

    "data": [

            "text": "blah blah blah",
            "created_at": "2022-06-08T15:19:12.000Z",
            "attachments": {
                "media_keys": [
            "id": "####"

I’ve already tried:
This was a long shot, and it didn’t work

<img src="{{media_keys}}">

or this

<img src="{{attachments.media_keys}}">

Thank you

Never done it myself but according to the doc’s

The media key is the ID plus a numeric prefix and an underscore.

It sounds like you might be looking for the ‘Entities’ > ‘Media object’ > ‘media_url’

An http:// URL pointing directly to the uploaded media file. Example:

With the URL you could then use the image HTML as your template like this;

<img src="">
1 Like

Thank you very much I’ll try that.

1 Like