Does anyone have any experience adding Twitter cards to their websites? I am trying to ad it to my site so that when I tweet a link from my blog, a thumbnail appears.
I am not quite sure WHAT to implement WHERE.
Any help would be greatly appreciated!
Thank you everyone
Doug thank you! My next question is, do I put the just the code below in the header section? Is there any other code I need to input? <meta name="twitter:card" content="summary" />
pasting in the head section should work. Not sure but I think you might need the following - this is from the bottom of the twitter page you referenced above. Change the @tag to appropriate twitter ids.
There are other twitter meta tags you can use if you look at the bottom of the page they also use open graph.
I really haven’t kept up, so I would try some and use that tester. I do know that placing meta tags in the head section works, don’t know that much about all the meta tags twitter supports.
I cut and paste this code into my site: <meta name="twitter:card" content="summary" /> <meta name="twitter:site" content="@nytimesbits" /> <meta name="twitter:creator" content="@nickbilton" /> <meta property="og:url" content="http://bits.blogs.nytimes.com/2011/12/08/a-twitter-for-my-sister/" /> <meta property="og:title" content="A Twitter for My Sister" /> <meta property="og:description" content="In the early days, Twitter grew so quickly that it was almost impossible to add new features because engineers spent their time trying to keep the rocket ship from stalling." /> <meta property="og:image" content="http://graphics8.nytimes.com/images/2011/12/08/technology/bits-newtwitter/bits-newtwitter-tmagArticle.jpg" />
Then I just changed the information to match my website. Again, thank you very much!!