使用Twitter:image时,Twitter卡预览失败

使用Twitter:image时,Twitter卡预览失败,twitter,meta-tags,twitter-card,Twitter,Meta Tags,Twitter Card,我正在尝试添加到我的网站,这样引用我博客文章的推文将可以扩展并显示额外的信息 当我包含一个twitter:image标记时,twitter卡会失败,但当我删除它时,它工作正常。我做错了什么 <meta property="twitter:url" content="http://liberalgeek.com/content/why-do-atheists-celebrate-christmas" /> <meta property="twitter:card" content

我正在尝试添加到我的网站,这样引用我博客文章的推文将可以扩展并显示额外的信息

当我包含一个
twitter:image
标记时,twitter卡会失败,但当我删除它时,它工作正常。我做错了什么

<meta property="twitter:url" content="http://liberalgeek.com/content/why-do-atheists-celebrate-christmas" />
<meta property="twitter:card" content="summary" />
<meta property="twitter:description" content="I can&#039;t speak for all atheists, I can only speak for myself, so please leave a comment below and explain why you celebrate Christmas! When I hear someone ask, &quot;Why do atheists celebrate Christmas?&quot; my first thought often is: Better Question: Why do Christians celebrate Christmas?" />
<meta property="twitter:creator" content="@kennywyland" />
<meta property="twitter:title" content="Why do Atheists celebrate Christmas?" />

<!-- the following line causes the problem -->
<meta property="twitter:image" content="http://liberalgeek.com/sites/default/files/styles/large/public/Christmas%20Tree.jpg" />

图像是公开可见的,它足够大而不会太大。。。怎么了?

试试这个

<meta name="twitter:image:src" content="http://liberalgeek.com/sites/default/files/styles/large/public/Christmas%20Tree.jpg" />


更改robots.txt以允许机器人访问您的站点。

我认为这个答案可能已经过时了。根据这里的信息(),现在两者都可以,但是推荐的方法是使用
twitter:image