Page MenuHomePhabricator

[Bug] Article share card not appearing on Twitter
Closed, DuplicatePublic

Description

Steps to reproduce

  • Go to a Wikipedia article (KattenKabinet)
  • Tap on 'Share' from the article toolbar
  • Select 'Share on Twitter'
  • Note that there is a link preview image, suggesting that there will be an link preview / share card in the tweet:
    IMG_3460.PNG (1×750 px, 404 KB)
  • Share Tweet

Expected results

  • Tweet includes a link preview / share card

Actual results

  • There is no image or link preview in the tweet:
    IMG_3461.PNG (1×750 px, 106 KB)

For reference this is what sharing an article from Apple news looks like

Drafting share / tweetLive tweet is second from top
IMG_3462.PNG (1×750 px, 627 KB)
IMG_3457.PNG (1×750 px, 381 KB)

Event Timeline

JMinor added a project: Regression.
JMinor subscribed.

This used to work, I'm pretty sure...

Twitter cards would have to be enabled on the Web for this to work.

Useful links:

Generally, the feeling (and policy) is that Wikipedia is not a social network or an advertising platform, and services like this don't benefit a project like Wikipedia. Furthermore, using these services means that Wikipedia has to select one or more services over others, which violates its neutrality policy.

On the Dutch Project Chat a user noticed that Twitter doesn't show an image when sharing, but Facebook does. Just tested it and indeed Twitter doesn't show an image, Facebook does. Sourcecode shows an og:image metatag, but not twitter card tags.

Twitter cards would have to be enabled on the Web for this to work.

Useful links:

Generally, the feeling (and policy) is that Wikipedia is not a social network or an advertising platform, and services like this don't benefit a project like Wikipedia. Furthermore, using these services means that Wikipedia has to select one or more services over others, which violates its neutrality policy.

Are you sure about that Twitter cards need to be enabled? According to the link you posted Twitter supports Opengraph. We already support that for images, would be a small step to also have og:url, og:title and og:description especially now that basically every article is connected to Wikidata. I'm against implementing any social network specific tags like Twitter tags, but Opengraph ( http://ogp.me/ ) seems to be a good fit.

Wikipedia does not have card previews, because Twitter insists on you adding crap to your page to make it so. The last status on that is somewhere down in T157145: Twitter cards don't work for any projects besides Wikidata. Basically, unless you duplicate the title and description, and specify a card format, the fallbacks don't matter.

The apps used to have their own preview images that you could put text snippets onto, and these did work. Maybe people are remembering that ?