1

自分のブログ投稿を参照するツイートが拡張可能になり、追加情報が表示されるように、自分のサイトにTwitterカードを追加しようとしています。

タグを含めるとtwitter:imageTwitterカードは失敗しますが、削除すると問題なく動作します。私は何が間違っているのですか?

<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" />

画像は公開されていますが、大きすぎずに十分な大きさです...何が問題なのですか?

4

2 に答える 2

0

これを試して

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

https://dev.twitter.com/docs/cards/validation/validator

于 2013-05-30T06:17:29.983 に答える