How to know if the link you’re sharing on Twitter will produce an in-tweet image preview

tl;dr – check if the link you’re sharing can produce an inline image preview by running it though Twitter’s Card Validator. If it doesn’t you can cheat by manually uploading or pasting in an image.

The order and type of links in your tweet can affect things: pasting in a link to a tweet always displays that tweet regardless of other links involved or their order but for any two (or more) non-tweet links included in your tweet the last one is displayed. You can prevent a link from displaying an image by converting it to an shortened link (not bitly though), or override by adding an image to the tweet.

Instagram is a law unto itself and linking your Twitter & Instagram won’t display your Insta posts, you need a third party app for that.

In my previous post, How the order of links in tweets determines which one gets its accompanying image displayed, I played around with the order (in a tweet) of links that either do or don’t produce an inline image preview.

This is what an inline image looks like.

Screenshot 2019-02-17 08.59.42

The picture below the text appears automatically after I shared a link (the link itself becomes hidden and is replaced with the image) to a post on this blog about Instagram images. Instagram doesn’t support Twitter cards so letting Instagram autopost your Insta posts to Twitter doesn’t work in terms of displaying an image, you need a third party app to do that – details in that post I’ve just linked to.

  1. For an inline image to appear the site being linked to must have Twitter cards set up correctly [technical info for web developers].
  2. You can check if any given link will work by plugging it into Twitter’s Card Validator (note that the S in HTTPmay be important so try that first if you’ve copied over an HTTP address).
  3. If (2) doesn’t work and you aren’t able to set up (1) you can always cheat by just uploading an image or pasting in a screenshot of the image you’d like to appear. The link you share won’t disappear (it’ll show up as a clickable link) but hardly anyone will notice this workaround 🙂

If you include links to two or more posts that have Twitter cards working then the last one mentioned in your tweet will have its image preview shown. If you include a Twitter-card link alongside a non-card link then the card link will always show its image and the order of the links doesn’t matter. For an enjoyably pedantic (YMMV) examination of the effect of the order of links have a look at my earlier post: How the order of links in tweets determines which one gets its accompanying image displayed.

Note that if you include in your tweet a link to another tweet (even if included with a link that would normally produce an inline image) it seems that the link to the tweet will always take precedence and show up, regardless of the order you write them in your tweet. In the example below (using my testing account) I’ve reversed the order of two links, one to a post on this blog about getting rid of ‘your friend liked this tweet‘ notifications, the other to a tweet of mine about a Wikipedia page I created.

Screenshot 2019-02-15 23.25.19


• President Trump is being sued for blocking people, but the lawsuit makes no sense (to me)

NB: I am not a lawyer.

Some people are suing President Trump because he’s blocked them on Twitter. They argue that doing this stops them from reading or replying to his tweets and, by extension, means that their opinion cannot be made available to others who are reading the thread.

This is not true.

While I am not a supporter of President Trump this lawsuit appears to be based on a misunderstanding of what Twitter’s block actually means (to be fair this misunderstanding is very widespread). Perhaps if I were a lawyer I’d see some merit in the lawsuit but it currently eludes me, it seems to me to be daft, incoherent and wrong.

A block from an otherwise unlocked / public account wouldn’t stop anyone from reading the tweets or even replying to them (though locking the account certainly would).

Reading tweets from someone who’s blocked you, while logged in
If a user has blocked you simply search for their tweets (eg from:realdonaldtrump). I’ve tested this using a work account that blocked my personal account and it works on desktop Twitter, Tweetdeck, several iPhone apps, and probably most Twitter platforms and apps.

Enthusiasts could set up an account with IFTTT and have any public account’s tweets emailed to them, or they could use another account to create a website widget which relays the tweets there.

Replying to tweets from someone who’s blocked you, while logged in
On desktop Twitter you need to click on the speech bubble icon to bring up the reply window (see the pics below). If you click on the tweet itself you’ll be taken to the ‘you are blocked’ page. On all the other platforms I’ve tested, including Tweetdeck, you can click on the tweet and reply to it.

Everyone else clicking on the tweet you’re replying to can see your reply*.

Viewing a “this tweet is unavailable” tweet that’s quote-RTed by someone else
In this scenario I’d simply right-click, open in private browsing window where you can view the tweet while not logged in. You can reply to the person who quoted the tweet while logged in to the regular browser window.

If an account blocks you can they see your tweets? Yes they can, though as your tweets aren’t delivered to them they won’t see them unless they want to. So, practically speaking, this might be ‘no’.

If anyone wishes to ‘not see tweets from someone’ while ‘avoiding being sued for blocking them’ then I strongly suggest MUTE as the better choice. If you are not following an account then MUTING them stops any tweets they send you from arriving. They don’t know they’re muted and can read and reply to your tweets (which others can see, but you won’t).

On desktop and iPhone Twitter (I’ve not tested other apps) you can arrange your settings to that you’ll only see tweets from accounts that you follow, which is basically the equivalent of muting everyone except accounts you follow. Again, no-one else knows.

*Twitter doesn’t show all replies
I don’t know how Twitter determines which tweets it will or won’t show, it may be algorithmic or it may be based on other users flagging up tweets as offensive. Occasionally in a thread I see ‘view more tweets, including those that may contain offensive content’ and they’re rarely all that offensive. Even if Mr Trump hadn’t blocked your account your replies to him might not be shown to him.

Worked example, with pictures
I’ve just blocked myself (@jobrodie) using one of my old work accounts @chi_med. The pictures below show me what I see / don’t see, and how I can reply to the tweet of an account that’s blocked me.

Fig 1. @chi_med has blocked @jobrodie. When I’m logged in as @jobrodie I see a ‘you are blocked’ page if I try and look at @chi_med’s profile


Fig 2. While logged in as @jobrodie I’ve searched for tweets from @chi_med by typing from:chi_med into the search bar, the results are clearly visible. Note the small speech bubble at the bottom left of every tweet – that will let me reply to the tweet.


Fig 3. This is what I see if I click on one of the tweets (instead of the speech bubble to reply) – I’m taken back to the ‘you are blocked’ page from Fig 1, this is its URL.


Fig 4. Clicking the speech bubble brings up a reply window.


Fig 5. I’m not logged in, but the tweet from @chi_med now displays my reply – visible to all.
Fig 6. How the tweet looks when I’m logged in as @chi_med. I can see that there has been a reply (see the little ‘1’ next to the speech bubble) but I can’t see what the tweet says because I’ve blocked the account that sent it. Others would see the tweet though.