Facebook Share Story Image Does Not Appear For First time

前端 未结 2 483
旧巷少年郎
旧巷少年郎 2020-12-04 03:10

I try to share the article or web page but the story does not show the image when sharing for the first time but when i share for the next time, image is coming.

Che

2条回答
  •  爱一瞬间的悲伤
    2020-12-04 03:26

    https://developers.facebook.com/docs/sharing/best-practices#precaching lists ways to avoid this problem, by either

    • scraping new articles upfront via API, or

    • specifying the image dimensions via OG meta tags as well.

提交回复
热议问题