Twitter button doesn’t give SEO title as it is set up
-
When sharing a post on Twitter, it no longer adds the SEO Title, but the regular title.
Other shares (Facebook, etc) are using the SEO Title.
For example, this post, https://www.humortimes.com/57762/trump-announces-doctor-tour/, when shared on via the Facebook or other buttons, returns the title, author, “Humor Times” and the url, as it is set up in Yoast SEO. This results in: “Trump Announces ‘Doctor’ Tour – Rick Blum, Humor Times” and the url.
However, for Twitter, it only gives the post title: “Trump Announces ‘Doctor’ Tour” and the url.
It was working the proper way up until a couple months ago.
The Yoast SEO folks assure me the problem is not on their end. Indeed, the og:title shows the whole line.
Why isn’t Add to Any’s Twitter share using the og:title?
What can be done to fix this? Thanks for any help.
P.S. I tried entering this in Additional JavaScript (which shouldn’t be needed, I don’t think, since the og:title covers this):
a2a_config.templates.twitter = “${title} – ${author}, Humor Times ${link} via @HumorTimes”;
But the ${author} does not return the author. Is there something that will?
- The topic ‘Twitter button doesn’t give SEO title as it is set up’ is closed to new replies.