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 Google Hangout - Twitter Cards

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
 
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
 
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
 
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 Google Hangout - Twitter Cards (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
 
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
 
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
 
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

WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightSafe Software
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformWSO2
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governanceWSO2
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceIES VE
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxMarkSteadman7
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 

Recently uploaded (20)

WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 

Google Hangout - Twitter Cards

  • 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