Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
251 views
in Technique[技术] by (71.8m points)

html - Facebook open graph tags not working fine and preview does't display

I was just going through a few sites to see how to display to add rich data while sharing and came across this answer HERE. I have this site here https://www.honchobaby.com/ to which i have already added all the necessary data namely :-

  <meta content="Honcho Baby? I New Born and Baby | Swaddles | Blanket" property="og:title">
  <meta content="Shop the best for new borns. Baby muslin swaddles and essentials with pure 100% certified organic fabrics" property="og:description">
  <meta content="website" property="og:type">
  <meta content="https://www.honchobaby.com" property="og:url">
  <meta content="Honchobaby" property="og:site_name">
  <meta content="https://cdn.myshopmatic.com/images/4PGOJ9/w2vjYQXEjw.png" property="og:image">

I am not concenred with the og:image displaying as of now just need the title and the description to display correctly , suprisingly if i take the same source code and add it to my git site HERE. I see a preview/rich data , see screenshot below :-

enter image description here

However same source code, on the original site does't work

enter image description here

Why is this odd bug occurring ?

question from:https://stackoverflow.com/questions/65844446/facebook-open-graph-tags-not-working-fine-and-preview-doest-display

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...