When i share a new pic by twitter card, it can not show pic

cards

#1

Issue: I want to share a image from back end create a new pic url, but twitter card can not show on first times.

URL affected: in testing…

Troubleshooting steps tried already:

this problem in facebook’s explain is:

When content is shared for the first time, the Facebook crawler will scrape and cache the metadata from the URL shared. The crawler has to see an image at least once before it can be rendered. This means that the first person who shares a piece of content won’t see a rendered image.
(https://developers.facebook.com/docs/sharing/best-practices/?locale=en_US#precaching)

that solution is:

  1. Pre-cache the image with the Sharing Debugger
    Run the URL through the URL debugger to pre-fetch metadata for the page. You should also do this if you update the image for a piece of content.

  2. Use og:image:width and og:image:height Open Graph tags
    Using these tags will specify the image dimensions to the crawler so that it can render the image immediately without having to asynchronously download and process it.

how can i solve in twitter cards ?


#2

Have you validated your page in Twitter’s card tool?


#3

yes, at the first times can not show image , when i refresh the page can be show.


#4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.