Hi there can you please help me troubleshoot why my url is not showing image card ! this is the url I am using
@bodebliss54 we are unable to support the main Twitter website or app here, these are our developer forums. Please stay on-topic related to the developer platform thank you.
@andypiper can you reply to my question above.
Can you please help me troubleshoot why my url is not showing image card ! this is the url I am using
What troubleshooting steps have you tried? There is an FAQ post in this forum.
@andypiper I’ve been through the steps on the main link posted but am still unable to fix the problem. Do you have any further suggestions we have quite a lot of blogs on our site and know that this is affecting our CTR.
What are the specific URLs that are failing and what steps have you walked through? This seems to be a thread that has been reused.
hi, i am having the same issue… my card was validated last week and still there is no image showing up. Kindly help me. Here is the link of my websitehttps://masskarafestivals.com
You have not specified a
twitter:image tag in your page. Please ensure you have followed the troubleshooting steps before posting here.
I am having a similar issue…I have adjusted the image and it reflects the correct image on the website, however, it is still pulling a different image than I specified in Twitter.
You’ll need to share a link to a page which demonstrates this issue.
You have no
og:image tag in your page so there is no way for an image to be displayed in a card.
Hey @andypiper I sent you our blog category page which does not contain the tags(sorry I thought you would click through to an article). Our blog posts which are not being displayed have the tags implemented. Currently we are using Yoast plugin but have previously used the twitter plugin and it had no affect on the image so disabled it.
$ curl https://www.pureseo.co.nz/robots.txt User-agent: * Disallow: /wp-content/uploads/
This says that Twitterbot (and other robots) should not be able to access
/wp-content/uploads/ which is where your images are stored. This is covered in the pinned FAQ post.
@andypiper i changed my robots.txt allowing twitter to access images but am still not having any result
robots.txt file still shows the same content for me. I noticed that it is on Cloudflare, is there any chance that it is cached somewhere and not yet updated?
@andypiper I have a similar problem.
My robots.txt is fine and I see the image in the validator, but I cannot see it when I post it on my site.
What is my problem?
I use this code on my share button:
var url = $($this).closest(“html”).find(“head”).find(“meta[name=‘twitter:url’]”).attr(“content”),
image = $($this).closest(“html”).find(“head”).find(“meta[name=‘twitter:image’]”).attr(“content”),
text = $($this).closest(“html”).find(“head”).find(“meta[name=‘twitter:title’]”).attr(“content”),//document.title,
shareURL = “http://twitter.com/intent/tweet”, //url base
full_url = shareURL +
“?url=” + encodeURIComponent(url) +
“&text=” + encodeURIComponent(text) +
“&image=” + encodeURIComponent(image),
params = “status=1,width=” + screen_width +
“,height=” + screen_height +
“,top=” + screen_top +
“,left=” + screen_left +
window.open(full_url, "twitter", params);
Edit: the solution is to insert only the “text” with the “url” parameter. The preview not show the image, but the post have all the card info.
Unfortunately it’s impossible to check if you don’t provide a live URL. If the card shows in the validator, the chances are it will render fine when you post the URL in a Tweet. Cards do not show in the web share dialog.