The Wayback Machine - https://web-wp.archive.org/web/20140827031045/https://dev.twitter.com/discussions/8568

Twitter Cards doc examples do not include required description

niall
@niall Niall Kennedy

I noticed the examples you use on the Twitter Cards documentation do not match your defined requirements. https://dev.twitter.com/docs/cards

Photo cards are supposedly required to have a description; the Instagram example does not. You might blank out the title and put the current title as a description instead.

Player cards are supposedly required to have a description; the YouTube example does not.

I think player:stream may be require a HTTPS URL to avoid mixed content in <video> but I don't see it explicitly specified.

2 years 10 weeks ago

Replies

saisne1
@saisne1 saisne

How to use Twitter Cards with ASP.Net MVC3 ? I try like this in _Layout.cshtml:

  1. <meta name="twitter:card" content="summary">
  2. <meta name="twitter:url" content="http://www.nytimes.com/2012/02/19/arts/music/amid-police-presence-fans-congregate-for-whitney-houstons-funeral-in-newark.html">
  3. <meta name="twitter:title" content="Parade of Fans for Houston’s Funeral">
  4. <meta name="twitter:description" content="NEWARK - The guest list and parade of limousines with celebrities emerging from them seemed more suited to a red carpet event in Hollywood or New York than than a gritty stretch of Sussex Avenue near the former site of the James M. Baxter Terrace public housing project here.">
  5. <meta name="twitter:image" content="http://graphics8.nytimes.com/images/2012/02/19/us/19whitney-span/19whitney-span-articleLarge.jpg">

but I get nothing in Twitter?

2 years 7 weeks ago
paulmwatson
@paulmwatson Paul Watson

What happened to the YouTube example? We're trying to get our YouTube videos sorted but the HTTPS mixed-content warning requirement is causing us issues.

2 years 6 weeks ago
f_madrid86
@f_madrid86 Junior

Hello, i try use the meta how 'twitter:image' in my web, for do tweet whith style, but i can't get nothing and i don't now why. I insert the metas from the code.
If anybody can help me, send mail to jafarfanarana@gmail.com o write the tweet.
Thank's

2 years 2 weeks ago
reywood
@reywood Sean Dwyer

After quite a while trying to get the "card preview" page to work, I found that it won't render the card preview unless the twitter:title value contains a "’" character. Note that this is not the apostrophe(') or the backtick (`) character. It's a "right single quotation mark", unicode #8217. That was pretty annoying.

1 year 40 weeks ago
froginthevalley
@froginthevalley Sylvain Carle

Please use this thread for support on cards - Twitter Cards: I have a problem, help me!

1 year 38 weeks ago