SlideShare a Scribd company logo
1 of 26
Download to read offline
Google Hangout - Twitter Cards
July 22, 2014
#TwitterDevLive
Twitter Cards Google Hangout - July 22, 2014
Google Hangout - Twitter Cards
Jon Bulava
@jbulava
Developer Advocate, NYC #TwitterDevLive
bitly.com/hangout-cards
t.co/hangout-feedbackRomain Huet
@romainhuet
Developer Advocate, London
Twitter Cards Google Hangout - July 22, 2014
Overview
• What are Twitter Cards?
• Types of Cards
• How to create a Card
• Validation
• Processing Cards
• Cards on Twitter Ads
• Twitter Analytics
t.co/cards
Twitter Cards Google Hangout - July 22, 2014
The What, Why and How of Cards
What?
Rich media experiences attached to
Tweets for your domain.
!
Why?
Customize how your content is
presented. Drive more engaged traffic
to your site or application.
!
How?
Add Twitter meta tags to the HTML of
your webpage.
Twitter Cards Google Hangout - July 22, 2014
Summary
Summary w/ Large
Image
Photo
Gallery
App
Player
Product
!
ads.twitter.com
Card Types
Summary
Summary w/ Large
Image
Photo
Gallery
App
Player
Product
!
ads.twitter.com
*All previews demonstrate rendering on web
Twitter Cards Google Hangout - July 22, 2014
How to Create a Card: Meta Tags
Add meta tags to your website
<meta name="twitter:card" content="summary">	
<meta name="twitter:title" content="JonBulava.com" />	
<meta name="twitter:site" content="@jbulava" />	
<meta name="twitter:image" content="http://
www.jonbulava.com/images/jon-farm.jpg" />	
<meta name="twitter:description" content="Check out his
photography and video projects. You'll also find links to
where you can find him across the web. Including Twitter of
course!" />
<meta name="twitter:card" content="summary">
Twitter Cards Google Hangout - July 22, 2014
How to Create a Card
Demo
Create, Validate, Tweet
Twitter Cards Google Hangout - July 22, 2014
How to Create a Card: Attribution
Define the website
twitter:site or twitter:site:id
!
Define the creator
twitter:creator or twitter:creator:id
Twitter Cards Google Hangout - July 22, 2014
Validation
https://dev.twitter.com/docs/cards/validation/validator
!
Use “Validate & Apply” tab
!
One validation per domain per
Card type
!
Approved within minutes*
Google Hangout - May 29, 2014
Player Cards
!
Designed for linear audio and video
!
“Getting started” bundle:
https://github.com/twitterdev/cards
11
Twitter Cards Google Hangout - July 22, 2014
Player Cards: Approval
• Test across all Twitter clients
• HTML for twitter:player should be responsive
• Use HTTPS
• For video and audio content
• ‘sound off’ for auto-play content
• Cannot auto-play if > 10 seconds
• Include controls
Photo Card
Player Card
Large Image
Summary Card
Summary Card
App Card
Gallery Card
Product Card
Twitter Cards Google Hangout - July 22, 2014
Processing a Card: Crawling
!
!
The crawler respects yourdomain.com/robots.txt
!
Our user-agent is Twitterbot
Twitter Cards Google Hangout - July 22, 2014
Processing a Card: robots.txt
Disallow all but Twitter:
User-agent: Twitterbot
Disallow:
User-agent: *
Disallow: /
Twitter Cards Google Hangout - July 22, 2014
Processing a Card: robots.txt
Specify directories:
User-agent: Twitterbot
Disallow: *
Allow: /images
Allow: /archives
Twitter Cards Google Hangout - July 22, 2014
Processing a Card: Caching
!
!
• 7 days from first tweet
!
• Bust by revalidating
!
• Different query strings, different URLs
Twitter Cards Google Hangout - July 22, 2014
Processing a Card: Multiple URLs
!
pic.twitter.com and vine.com
have preference
!
URLs are processed in order of
appearance in the tweet
Twitter Cards Google Hangout - July 22, 2014
App Installs and Deep-Linking
Enable app installs and deep-linking on any kind of Twitter Card
<meta name="twitter:app:country" content="US"/>	
<meta name="twitter:app:name:iphone" content="Example App"/>	
<meta name="twitter:app:id:iphone" content="306934135"/>	
<meta name="twitter:app:url:iphone" content="example://action/
5149e249222f9e600a7540ef"/>	
<meta name="twitter:app:name:ipad" content="Example App"/>	
<meta name="twitter:app:id:ipad" content="306934135"/>	
<meta name="twitter:app:url:ipad" content="example://action/
5149e249222f9e600a7540ef"/>	
<meta name="twitter:app:name:googleplay" content="Example App"/>	
<meta name="twitter:app:id:googleplay" content="com.example.app"/>	
<meta name="twitter:app:url:googleplay" content="http://example.com/action/
5149e249222f9e600a7540ef"/>
American Apparel
@AmericanApparel
Grab a treat! We're giving out another
$25 gift card for Halloween! Sign up
for your chance to win!
#AAHALLOWEEN cards.twitter.com/
cards/8i9bq/2bf 
Sharing
App Installs
Deep Linking
Twitter Cards Google Hangout - July 22, 2014
Cards on ads.twitter.com
Cards are hosted, no installation of meta tags needed
Website Card
Lead Generation Card
Twitter Cards Google Hangout - July 22, 2014
Cards on ads.twitter.com
Cards are hosted, no installation of meta tags needed
Basic App Card
Image App Card
Twitter Cards Google Hangout - July 22, 2014
Using analytics.twitter.com
Twitter Cards Google Hangout - July 22, 2014
Resources
Cards Documentation
t.co/cards
!
Meta tag reference
https://dev.twitter.com/docs/cards/markup-reference
!
Card validator
https://dev.twitter.com/docs/cards/validation/validator
Twitter Cards Google Hangout - July 22, 2014
Cards Troubleshooting
Frequently Asked Questions
https://dev.twitter.com/docs/cards/troubleshooting
!
Ask a Question
https://dev.twitter.com/discussions
!
t.co/hangout-feedback
Jon Bulava
@jbulava
Developer Advocate, NYC
Romain Huet
@romainhuet
Developer Advocate, London

More Related Content

Similar to Twitter Cards Google Hangout - July 22, 2014 Overview

Social Media Case Study: How JW Marriott Create Buzz About Indian Food Blogge...
Social Media Case Study: How JW Marriott Create Buzz About Indian Food Blogge...Social Media Case Study: How JW Marriott Create Buzz About Indian Food Blogge...
Social Media Case Study: How JW Marriott Create Buzz About Indian Food Blogge...Social Samosa
 
Social Media Best Practices for Law Firms
Social Media Best Practices for Law FirmsSocial Media Best Practices for Law Firms
Social Media Best Practices for Law FirmsPaperStreet Web Design
 
Hangouts on Air: How to Successfully Create More Video Content
Hangouts on Air: How to Successfully Create More Video ContentHangouts on Air: How to Successfully Create More Video Content
Hangouts on Air: How to Successfully Create More Video ContentGrant Tilus
 
REALTOR Social Media and Technology Resources 2011
REALTOR Social Media and Technology Resources 2011REALTOR Social Media and Technology Resources 2011
REALTOR Social Media and Technology Resources 2011Doug Devitre
 
Email and Web Marketing on Steriods v2
Email and Web Marketing on Steriods v2Email and Web Marketing on Steriods v2
Email and Web Marketing on Steriods v2Doug Devitre
 
PageSpeed and SPDY
PageSpeed and SPDYPageSpeed and SPDY
PageSpeed and SPDYBlake Crosby
 
How to Grow and Measure Your API Program - I ♥ APIs 2015
How to Grow and Measure Your API Program - I ♥ APIs 2015How to Grow and Measure Your API Program - I ♥ APIs 2015
How to Grow and Measure Your API Program - I ♥ APIs 2015Andrew Mager
 
I Love APIs 2015: How to Grow and Measure your API Program
I Love APIs 2015: How to Grow and Measure your API ProgramI Love APIs 2015: How to Grow and Measure your API Program
I Love APIs 2015: How to Grow and Measure your API ProgramApigee | Google Cloud
 
London Twitter Developer Nest - April 2010
London Twitter Developer Nest - April 2010London Twitter Developer Nest - April 2010
London Twitter Developer Nest - April 2010Angus Fox
 
The Latest Social Media Changes and What You Need to Do About Them
The Latest Social Media Changes and What You Need to Do About ThemThe Latest Social Media Changes and What You Need to Do About Them
The Latest Social Media Changes and What You Need to Do About ThemAndrea Vahl
 
Creating Excellent Video Content with Hangouts On Air - PubCon 2015
Creating Excellent Video Content with Hangouts On Air - PubCon 2015Creating Excellent Video Content with Hangouts On Air - PubCon 2015
Creating Excellent Video Content with Hangouts On Air - PubCon 2015Grant Tilus
 
Brighton Mini Maker Faire Case Study
Brighton Mini Maker Faire Case StudyBrighton Mini Maker Faire Case Study
Brighton Mini Maker Faire Case StudyBeyond
 
Digital and Social Certifications
Digital and Social CertificationsDigital and Social Certifications
Digital and Social CertificationsCindy Royal
 
Support SEO With A Cohesive Patient Journey
Support SEO With A Cohesive Patient JourneySupport SEO With A Cohesive Patient Journey
Support SEO With A Cohesive Patient JourneyGeonetric
 
Video SEO In Google & YouTube Search: Making the most out of it #SMXWest
Video SEO In Google & YouTube Search: Making the most out of it #SMXWestVideo SEO In Google & YouTube Search: Making the most out of it #SMXWest
Video SEO In Google & YouTube Search: Making the most out of it #SMXWestAleyda Solís
 
8 Ways to Make Seo Work on a Budget
8 Ways to Make Seo Work on a Budget8 Ways to Make Seo Work on a Budget
8 Ways to Make Seo Work on a BudgetJ Turnbull
 
Institutional Team January 2013
Institutional Team January 2013Institutional Team January 2013
Institutional Team January 2013tmeisenbach
 

Similar to Twitter Cards Google Hangout - July 22, 2014 Overview (20)

Social Media Case Study: How JW Marriott Create Buzz About Indian Food Blogge...
Social Media Case Study: How JW Marriott Create Buzz About Indian Food Blogge...Social Media Case Study: How JW Marriott Create Buzz About Indian Food Blogge...
Social Media Case Study: How JW Marriott Create Buzz About Indian Food Blogge...
 
Social Media Best Practices for Law Firms
Social Media Best Practices for Law FirmsSocial Media Best Practices for Law Firms
Social Media Best Practices for Law Firms
 
Using Twitter
Using TwitterUsing Twitter
Using Twitter
 
Hangouts on Air: How to Successfully Create More Video Content
Hangouts on Air: How to Successfully Create More Video ContentHangouts on Air: How to Successfully Create More Video Content
Hangouts on Air: How to Successfully Create More Video Content
 
REALTOR Social Media and Technology Resources 2011
REALTOR Social Media and Technology Resources 2011REALTOR Social Media and Technology Resources 2011
REALTOR Social Media and Technology Resources 2011
 
Social media for festivals twitter - using tags
Social media for festivals   twitter - using tagsSocial media for festivals   twitter - using tags
Social media for festivals twitter - using tags
 
Email and Web Marketing on Steriods v2
Email and Web Marketing on Steriods v2Email and Web Marketing on Steriods v2
Email and Web Marketing on Steriods v2
 
PageSpeed and SPDY
PageSpeed and SPDYPageSpeed and SPDY
PageSpeed and SPDY
 
How to Grow and Measure Your API Program - I ♥ APIs 2015
How to Grow and Measure Your API Program - I ♥ APIs 2015How to Grow and Measure Your API Program - I ♥ APIs 2015
How to Grow and Measure Your API Program - I ♥ APIs 2015
 
I Love APIs 2015: How to Grow and Measure your API Program
I Love APIs 2015: How to Grow and Measure your API ProgramI Love APIs 2015: How to Grow and Measure your API Program
I Love APIs 2015: How to Grow and Measure your API Program
 
London Twitter Developer Nest - April 2010
London Twitter Developer Nest - April 2010London Twitter Developer Nest - April 2010
London Twitter Developer Nest - April 2010
 
The Latest Social Media Changes and What You Need to Do About Them
The Latest Social Media Changes and What You Need to Do About ThemThe Latest Social Media Changes and What You Need to Do About Them
The Latest Social Media Changes and What You Need to Do About Them
 
Creating Excellent Video Content with Hangouts On Air - PubCon 2015
Creating Excellent Video Content with Hangouts On Air - PubCon 2015Creating Excellent Video Content with Hangouts On Air - PubCon 2015
Creating Excellent Video Content with Hangouts On Air - PubCon 2015
 
Brighton Mini Maker Faire Case Study
Brighton Mini Maker Faire Case StudyBrighton Mini Maker Faire Case Study
Brighton Mini Maker Faire Case Study
 
Digital and Social Certifications
Digital and Social CertificationsDigital and Social Certifications
Digital and Social Certifications
 
Support SEO With A Cohesive Patient Journey
Support SEO With A Cohesive Patient JourneySupport SEO With A Cohesive Patient Journey
Support SEO With A Cohesive Patient Journey
 
Video SEO In Google & YouTube Search: Making the most out of it #SMXWest
Video SEO In Google & YouTube Search: Making the most out of it #SMXWestVideo SEO In Google & YouTube Search: Making the most out of it #SMXWest
Video SEO In Google & YouTube Search: Making the most out of it #SMXWest
 
8 Ways to Make Seo Work on a Budget
8 Ways to Make Seo Work on a Budget8 Ways to Make Seo Work on a Budget
8 Ways to Make Seo Work on a Budget
 
Institutional Team January 2013
Institutional Team January 2013Institutional Team January 2013
Institutional Team January 2013
 
21 centuryteacher
21 centuryteacher21 centuryteacher
21 centuryteacher
 

Recently uploaded

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 

Recently uploaded (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 

Twitter Cards Google Hangout - July 22, 2014 Overview

  • 1.
  • 2. Google Hangout - Twitter Cards July 22, 2014 #TwitterDevLive
  • 3. Twitter Cards Google Hangout - July 22, 2014 Google Hangout - Twitter Cards Jon Bulava @jbulava Developer Advocate, NYC #TwitterDevLive bitly.com/hangout-cards t.co/hangout-feedbackRomain Huet @romainhuet Developer Advocate, London
  • 4. Twitter Cards Google Hangout - July 22, 2014 Overview • What are Twitter Cards? • Types of Cards • How to create a Card • Validation • Processing Cards • Cards on Twitter Ads • Twitter Analytics t.co/cards
  • 5. Twitter Cards Google Hangout - July 22, 2014 The What, Why and How of Cards What? Rich media experiences attached to Tweets for your domain. ! Why? Customize how your content is presented. Drive more engaged traffic to your site or application. ! How? Add Twitter meta tags to the HTML of your webpage.
  • 6. Twitter Cards Google Hangout - July 22, 2014 Summary Summary w/ Large Image Photo Gallery App Player Product ! ads.twitter.com Card Types Summary Summary w/ Large Image Photo Gallery App Player Product ! ads.twitter.com *All previews demonstrate rendering on web
  • 7. Twitter Cards Google Hangout - July 22, 2014 How to Create a Card: Meta Tags Add meta tags to your website <meta name="twitter:card" content="summary"> <meta name="twitter:title" content="JonBulava.com" /> <meta name="twitter:site" content="@jbulava" /> <meta name="twitter:image" content="http:// www.jonbulava.com/images/jon-farm.jpg" /> <meta name="twitter:description" content="Check out his photography and video projects. You'll also find links to where you can find him across the web. Including Twitter of course!" /> <meta name="twitter:card" content="summary">
  • 8. Twitter Cards Google Hangout - July 22, 2014 How to Create a Card Demo Create, Validate, Tweet
  • 9. Twitter Cards Google Hangout - July 22, 2014 How to Create a Card: Attribution Define the website twitter:site or twitter:site:id ! Define the creator twitter:creator or twitter:creator:id
  • 10. Twitter Cards Google Hangout - July 22, 2014 Validation https://dev.twitter.com/docs/cards/validation/validator ! Use “Validate & Apply” tab ! One validation per domain per Card type ! Approved within minutes*
  • 11. Google Hangout - May 29, 2014 Player Cards ! Designed for linear audio and video ! “Getting started” bundle: https://github.com/twitterdev/cards 11
  • 12. Twitter Cards Google Hangout - July 22, 2014 Player Cards: Approval • Test across all Twitter clients • HTML for twitter:player should be responsive • Use HTTPS • For video and audio content • ‘sound off’ for auto-play content • Cannot auto-play if > 10 seconds • Include controls
  • 13. Photo Card Player Card Large Image Summary Card Summary Card App Card Gallery Card Product Card
  • 14. Twitter Cards Google Hangout - July 22, 2014 Processing a Card: Crawling ! ! The crawler respects yourdomain.com/robots.txt ! Our user-agent is Twitterbot
  • 15. Twitter Cards Google Hangout - July 22, 2014 Processing a Card: robots.txt Disallow all but Twitter: User-agent: Twitterbot Disallow: User-agent: * Disallow: /
  • 16. Twitter Cards Google Hangout - July 22, 2014 Processing a Card: robots.txt Specify directories: User-agent: Twitterbot Disallow: * Allow: /images Allow: /archives
  • 17. Twitter Cards Google Hangout - July 22, 2014 Processing a Card: Caching ! ! • 7 days from first tweet ! • Bust by revalidating ! • Different query strings, different URLs
  • 18. Twitter Cards Google Hangout - July 22, 2014 Processing a Card: Multiple URLs ! pic.twitter.com and vine.com have preference ! URLs are processed in order of appearance in the tweet
  • 19. Twitter Cards Google Hangout - July 22, 2014 App Installs and Deep-Linking Enable app installs and deep-linking on any kind of Twitter Card <meta name="twitter:app:country" content="US"/> <meta name="twitter:app:name:iphone" content="Example App"/> <meta name="twitter:app:id:iphone" content="306934135"/> <meta name="twitter:app:url:iphone" content="example://action/ 5149e249222f9e600a7540ef"/> <meta name="twitter:app:name:ipad" content="Example App"/> <meta name="twitter:app:id:ipad" content="306934135"/> <meta name="twitter:app:url:ipad" content="example://action/ 5149e249222f9e600a7540ef"/> <meta name="twitter:app:name:googleplay" content="Example App"/> <meta name="twitter:app:id:googleplay" content="com.example.app"/> <meta name="twitter:app:url:googleplay" content="http://example.com/action/ 5149e249222f9e600a7540ef"/>
  • 20. American Apparel @AmericanApparel Grab a treat! We're giving out another $25 gift card for Halloween! Sign up for your chance to win! #AAHALLOWEEN cards.twitter.com/ cards/8i9bq/2bf  Sharing App Installs Deep Linking
  • 21. Twitter Cards Google Hangout - July 22, 2014 Cards on ads.twitter.com Cards are hosted, no installation of meta tags needed Website Card Lead Generation Card
  • 22. Twitter Cards Google Hangout - July 22, 2014 Cards on ads.twitter.com Cards are hosted, no installation of meta tags needed Basic App Card Image App Card
  • 23. Twitter Cards Google Hangout - July 22, 2014 Using analytics.twitter.com
  • 24. Twitter Cards Google Hangout - July 22, 2014 Resources Cards Documentation t.co/cards ! Meta tag reference https://dev.twitter.com/docs/cards/markup-reference ! Card validator https://dev.twitter.com/docs/cards/validation/validator
  • 25. Twitter Cards Google Hangout - July 22, 2014 Cards Troubleshooting Frequently Asked Questions https://dev.twitter.com/docs/cards/troubleshooting ! Ask a Question https://dev.twitter.com/discussions !
  • 26. t.co/hangout-feedback Jon Bulava @jbulava Developer Advocate, NYC Romain Huet @romainhuet Developer Advocate, London