Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing twitter tags #14

Closed
nephlin7 opened this issue Nov 10, 2018 · 18 comments
Closed

Missing twitter tags #14

nephlin7 opened this issue Nov 10, 2018 · 18 comments

Comments

@nephlin7
Copy link

Please add missing twitter tags to improve SEO score.

Thanks for next-seo is amazing and simple to use.

captura de pantalla 2018-11-09 a la s 8 24 14 p m

@garmeeh
Copy link
Owner

garmeeh commented Nov 14, 2018

Hey @nephlin7, Twitter will read the og:image, og:title and og:description tags for their card so there is no need to duplicate the tags.

Out of curiosity, is this Twitter's tool that is warning they are missing?

@garmeeh
Copy link
Owner

garmeeh commented Dec 3, 2018

I have updated the README to be more clear on this -> #17

@garmeeh garmeeh closed this as completed Dec 3, 2018
@nephlin7
Copy link
Author

nephlin7 commented Dec 11, 2018

Out of curiosity, is this Twitter's tool that is warning they are missing?

thank u @garmeeh for write back. tools name is seotesteronline.com

@shadez95
Copy link

I think adding twitter tags might be a good idea because there might be a website or service that only looks for twitter tags and don't support open graph.

@raymondsze
Copy link

I got the same issue. Could we generate the twitter tag as well for title and description?
It is hard to test it as online tools report errors.

@garmeeh garmeeh reopened this May 23, 2019
@danburzo
Copy link

I can confirm that Twitter is not picking up on og:image.
Website here: https://danburzo.github.io/webcolors-cmyk/
Tweet here: https://twitter.com/danburzo/status/1141399032893444096

@garmeeh
Copy link
Owner

garmeeh commented Jun 19, 2019

Hey @danburzo, for og:image to work correctly it I think it needs full URL. So if you update the og:image to be https://danburzo.github.io/webcolors-cmyk/_next/static/images/webcolors-cmyk-7b43c2261f57a631ef7378568830e972.png it should work correctly.

Please let me know if that doesn't do the trick.

@danburzo
Copy link

Ooh, I was not aware of that! Thanks for the pointer :) Seems to be working now.

@Aid19801
Copy link

Hi there, thanks for NextSEO, it's been a god-send for Facebook-shareable blogs i'm doing.

I do seem to be having some problem with NextSeo giving images to Twitter cards though.

I've tested on their Card Validator and it passes.

image

But sharing a link to my site on actual Twitter shows no image. I've got a full URL for the image in there. Very puzzling.

@stale
Copy link

stale bot commented Mar 14, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Mar 14, 2020
@stale stale bot closed this as completed Mar 21, 2020
@kleverrobot
Copy link

kleverrobot commented Oct 8, 2021

This is still an issue. We have a marketplace site and I want to be able to post links to the listings on twitter and have twitter display the social card. The social cards do not work properly on Twitter without the twitter meta tags. You can easily reproduce this using Facebooks and Twitters social card debug tool. The social card is properly generated for facebook, but not for Twitter.

Link: https://skwirl.io/listings/838

Twitter validator: https://cards-dev.twitter.com/validator
FB debugger: https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fskwirl.io%2Flistings%2F838

I don't want to share a link to the image on Twitter because I want the link to go to the link to purchase the item.

You can try an eBay link on the Twitter validator to see how it should look: https://www.ebay.ca/itm/363493311444

@bonesoul
Copy link

bonesoul commented Dec 6, 2021

is this issue still releavent? in my site's source i can see og:title and so but no twitter ones?

@Brendan-33
Copy link

Technically Twitter does state that they fallback to open graph tags if applicable Twitter tags are not found:

twitter:title = og:title
twitter:description = og:description
twitter:image = og:image
twitter:image:alt = og:image:alt

Source:
https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup

So technically Twitter themselves have openly "softly deprecated" those 4 tags in favor of Open Graph.

So any seo tool that says that your meta tags are wrong because you are missing twitter:title even though you have og:title, are wrong according to Twitter's docs.

What I'm trying to get at is that the current code is correct implementation is correct, and Twitter docs back that up.

Would other parsers still read those 4 Twitter tags? Possibly, but those parsers should be updated after Twitter themselves softly deprecated those 4 tags.

@gordicaleksa
Copy link

I'm still hitting this issue 4 years later - instead of assuming what Twitter fallbacks are, why not add the meta tags behind the scenes?

@Posandu
Copy link

Posandu commented Dec 28, 2022

@gordicaleksa Same here 🥲

@gordicaleksa
Copy link

I've actually solved it. In my case I was missing robots.txt in the root of my website, Twitter bots couldn't fetch the image (which was on my website). Inspecting the website I made: https://www.hubermantranscripts.com/ you can see that twitter pulls the image and other missing meta tags from OG indeed.

See the official twitter docs here.

@stevenqzhang
Copy link

FWIW, I fixed it on my site, https://www.climatetechlist.com by manually adding the following tags, adding robots.txt didn't fix anything (could be a temporal thing):

<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content="ClimateTechList: Software jobs at high-growth climate companies"/>
<meta property="twitter:image" content="https://www.climatetechlist.com/og/index.png"/>

This was hard to test because twitter's card validator has been removed, so I just created a side account to test this.

A few things to note- when you first tweet a link, the preview will show up like this
image

after a few seconds, the actual preview will show up
image

@grisha87
Copy link

grisha87 commented Oct 9, 2023

@garmeeh , I'm not sure if you're tracking the activity on this issue, but I would like to let you know that at least as of 09 Oct 2023 the issue with twitter really using twitter:image etc does exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests