Facebook分享故事图像不会首次出现 [英] Facebook Share Story Image Does Not Appear For First time
本文介绍了Facebook分享故事图像不会首次出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试分享文章或网页,但故事在第一次共享时不会显示图像,但下次分享时,图像即将到来。
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.
检查FB调试器另外,同样的result.image不是第一次来,下一次来了。
Checked in FB Debugger Also, same result.image not coming for the first time , next time it is coming.
<html class="no-js" lang="ar" dir="rtl" data-ng-app="mApp" xmlns:fb="http://ogp.me/ns/fb#">
<meta property="og:title" content="mytitle"/>
<meta property="og:url" content="http://mytest.com"/>
<meta property="og:image" content="http://mytest.com/1-773128.jpg"/>
<meta property="og:description" content="ffff2024"/>
<meta property="og:site_name" content="ggggggg"/>
<meta property="og:type" content="ARTICLE"/>
<meta property="fb:app_id" content="2444444444444"/>
推荐答案
https://developers.facebook.com/docs/sharing/best-practices#precaching 列出了避免此问题的方法,由
https://developers.facebook.com/docs/sharing/best-practices#precaching lists ways to avoid this problem, by either
-
通过API前期追踪新文章,或
scraping new articles upfront via API, or
通过OG元标签指定图片尺寸。
specifying the image dimensions via OG meta tags as well.
这篇关于Facebook分享故事图像不会首次出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文