SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Downloaden Sie, um offline zu lesen
TM




Wednesday, September 8, 2010
Twitter API
                      #tmeetup @themattharris @mccv @paypalx




 @paypalx                                                      TM



 September 8, 2010
Wednesday, September 8, 2010
About us


                                   TM




Wednesday, September 8, 2010
The         team




                                      TM




Wednesday, September 8, 2010
dev.twitter.com
                        The developer portal




                                               TM




Wednesday, September 8, 2010
Creating an app
                        Your own small playground




                                                    TM




Wednesday, September 8, 2010
TM




Wednesday, September 8, 2010
TM




Wednesday, September 8, 2010
TM




Wednesday, September 8, 2010
Browsing docs


                                        TM




Wednesday, September 8, 2010
TM




Wednesday, September 8, 2010
TM




Wednesday, September 8, 2010
TM




Wednesday, September 8, 2010
The Streams


                                      TM




Wednesday, September 8, 2010
What is Streaming?
                   ‣    Push delivery of tweets, as opposed to the REST (pull) API
                   ‣    Implemented as HTTP long poll, aka the web page that never
                        ends
                   ‣    JSON (preferred) or XML content




                                                                                     TM




Wednesday, September 8, 2010
Streaming “Products”
                   ‣    hoses - slices of the entire tweet corpus
                   ‣    firehose
                   ‣    filter
                   ‣    sample
                   ‣    users - focused on specific users’ content
                   ‣    user streams
                   ‣    site streams




                                                                     TM




Wednesday, September 8, 2010
Getting Started
                   ‣    cURL is your friend
                   ‣    twurl is an even better friend
                   ‣    Many libraries available




                                                         TM




Wednesday, September 8, 2010
User Streams
                   ‣    Goals
                   ‣    Support single-user connections (e.g. desktop applications)
                   ‣    Reduce dependency on polling
                   ‣    Provide a true real time experience to users




                                                                                      TM




Wednesday, September 8, 2010
Data Delivered
                   ‣    All data is delivered as a JSON message on a single line
                   ‣    First message - your friends
                   ‣    Statuses
                   ‣    Direct Messages
                   ‣    Events




                                                                                   TM




Wednesday, September 8, 2010
What are Events?
                  ‣     Events represent user activities that are not message delivery
                  ‣     This includes
                  ‣     favorites
                  ‣     follows
                  ‣     profile updates




                                                                                         TM




Wednesday, September 8, 2010
Event Schema
                   ‣    event - indicates the type of event
                   ‣    source - the user who initiated the action
                   ‣    target - the user who owns the affected object.
                   ‣    target_object (optional) - the affected object
                   ‣    created_at - the time this happened




                                                                          TM




Wednesday, September 8, 2010
Site Streams
                   ‣    Goals
                   ‣    Like User Streams
                   ‣    But for “services”, not desktop apps.
                   ‣    Multiplex many users’ events onto a single connection




                                                                                TM




Wednesday, September 8, 2010
Data Delivered
                   ‣    Just the same as user stream
                   ‣    But every message is wrapped with a “for_user” tag, which gives
                        the ID of the user to whom this message applies




                                                                                          TM




Wednesday, September 8, 2010
Keys to Success
                   ‣    Use OAuth
                   ‣    Use JSON
                   ‣    Process messages asynchronously
                   ‣    Make sure you have adequate bandwidth
                   ‣    Be prepared for additional message types




                                                                   TM




Wednesday, September 8, 2010
More Info!                                  Follow us at
                                                                     twitter.com/jkalucki
                                                                     twitter.com/mccv
                        http://dev.twitter.com/pages/streaming_api




                                                                                            TM




Wednesday, September 8, 2010
Tweet Button


                                       TM




Wednesday, September 8, 2010
Source: http://twittercounter.com/compare/YouTube/3month/followers   TM




Wednesday, September 8, 2010
Source: http://twittercounter.com/compare/YouTube/3month/followers   TM




Wednesday, September 8, 2010
Basic Example
                   <script src="http://platform.twitter.com/widgets.js"
                           type="text/javascript"></script>
                   <a href="http://twitter.com/share"
                      class="twitter-share-button">Tweet</a>




                                                                          TM




Wednesday, September 8, 2010
Customising
                   ‣    url - URL of the page to share
                   ‣    via - Screen name of the user to attribute the Tweet to
                   ‣    text - Default Tweet text
                   ‣    related - Related accounts
                   ‣    count - Count box position
                   ‣    lang - The language for the Tweet Button
                   ‣    counturl - The URL to which your shared URL resolves to

                                                                                  TM




Wednesday, September 8, 2010
Customised Example
                   <script src="http://platform.twitter.com/widgets.js"
                            type="text/javascript"></script>
                   <div>
                      <a href="http://twitter.com/share"
                          class="twitter-share-button"
                          data-url="http://dev.twitter.com/pages/tweet_button"
                          data-via="twitterapi"
                          data-text="Checking out this page about Tweet Buttons"
                          data-related="anywhere:The Javascript API"
                          data-count="vertical">Tweet</a>
                   </div>




                                                                                   TM




Wednesday, September 8, 2010
Customised Example with Short URL
                   <script src="http://platform.twitter.com/widgets.js"
                            type="text/javascript"></script>
                   <div>
                     <a href="http://twitter.com/share"
                         class="twitter-share-button"
                         data-url="http://bit.ly/twitter-api-announce"
                         data-counturl="http://groups.google.com/group/twitter-api-announce"
                         data-count="vertical">Tweet</a>
                   </div>




                                                                                               TM




Wednesday, September 8, 2010
More Info!
                        http://dev.twitter.com/pages/tweet_button




                                                                    TM




Wednesday, September 8, 2010
Stay Informed...   Join
                                                  bit.ly/twitter-anywhere-talk
                                                  bit.ly/twitter-dev-talk

                                                  Important Stuff
                                                  @twitterapi
                                                  status.twitter.com
                                                  bit.ly/twitter-api-announce


                                                                          TM




Wednesday, September 8, 2010
Help...   Check out
                                         dev.twitter.com




                                                           TM




Wednesday, September 8, 2010
Join the Flock!   Find out more
                                                 jobs.twitter.com




                                                                    TM




Wednesday, September 8, 2010
Questions?   Follow us at
                                            twitter.com/twitterapi
                                            twitter.com/themattharris
                                            twitter.com/mccv




                                                                   TM




Wednesday, September 8, 2010
TM




Wednesday, September 8, 2010

Weitere ähnliche Inhalte

Ähnlich wie @twitterapi meetup at Paypal Town Hall

Qconsp domesticando dragoes com soluções escaláveis
Qconsp   domesticando dragoes com soluções escaláveisQconsp   domesticando dragoes com soluções escaláveis
Qconsp domesticando dragoes com soluções escaláveisBruno Oliveira
 
Mobile Strategy & Product Dev. - iRush
Mobile Strategy & Product Dev. - iRushMobile Strategy & Product Dev. - iRush
Mobile Strategy & Product Dev. - iRushAndrew Donoho
 
Html5 apps nikolaionken-08-06
Html5 apps nikolaionken-08-06Html5 apps nikolaionken-08-06
Html5 apps nikolaionken-08-06Skills Matter
 
Opening up the Social Web - Standards that are bridging the Islands
Opening up the Social Web - Standards that are bridging the Islands Opening up the Social Web - Standards that are bridging the Islands
Opening up the Social Web - Standards that are bridging the Islands Bastian Hofmann
 
OSMC2010 Open NMS Kickstart
OSMC2010 Open NMS KickstartOSMC2010 Open NMS Kickstart
OSMC2010 Open NMS KickstartRonny
 
Doing Your HW - A UX approach to your web design
Doing Your HW - A UX approach to your web designDoing Your HW - A UX approach to your web design
Doing Your HW - A UX approach to your web designFabian Alcantara
 
Vefica presentatie TV2.0 & IFA 2010
Vefica presentatie TV2.0 & IFA 2010Vefica presentatie TV2.0 & IFA 2010
Vefica presentatie TV2.0 & IFA 2010Vincent Everts
 
Google App Engine - Devfest India 2010
Google App Engine -  Devfest India 2010Google App Engine -  Devfest India 2010
Google App Engine - Devfest India 2010Patrick Chanezon
 
Managing technical communicators in an XML environment
Managing technical communicators in an XML environmentManaging technical communicators in an XML environment
Managing technical communicators in an XML environmentScriptorium Publishing
 
Advanced android
Advanced androidAdvanced android
Advanced androiddonnfelker
 
Rana June 360i Dev Talk
Rana June 360i Dev TalkRana June 360i Dev Talk
Rana June 360i Dev Talkranajune
 
Is the iPad just a big iPhone?
Is the iPad just a big iPhone?Is the iPad just a big iPhone?
Is the iPad just a big iPhone?Griffin Technology
 

Ähnlich wie @twitterapi meetup at Paypal Town Hall (15)

Qconsp domesticando dragoes com soluções escaláveis
Qconsp   domesticando dragoes com soluções escaláveisQconsp   domesticando dragoes com soluções escaláveis
Qconsp domesticando dragoes com soluções escaláveis
 
Mobile Strategy & Product Dev. - iRush
Mobile Strategy & Product Dev. - iRushMobile Strategy & Product Dev. - iRush
Mobile Strategy & Product Dev. - iRush
 
Html5 apps nikolaionken-08-06
Html5 apps nikolaionken-08-06Html5 apps nikolaionken-08-06
Html5 apps nikolaionken-08-06
 
Vagrant at LA Ruby
Vagrant at LA RubyVagrant at LA Ruby
Vagrant at LA Ruby
 
Opening up the Social Web - Standards that are bridging the Islands
Opening up the Social Web - Standards that are bridging the Islands Opening up the Social Web - Standards that are bridging the Islands
Opening up the Social Web - Standards that are bridging the Islands
 
OSMC2010 Open NMS Kickstart
OSMC2010 Open NMS KickstartOSMC2010 Open NMS Kickstart
OSMC2010 Open NMS Kickstart
 
Doing Your HW - A UX approach to your web design
Doing Your HW - A UX approach to your web designDoing Your HW - A UX approach to your web design
Doing Your HW - A UX approach to your web design
 
Vefica presentatie TV2.0 & IFA 2010
Vefica presentatie TV2.0 & IFA 2010Vefica presentatie TV2.0 & IFA 2010
Vefica presentatie TV2.0 & IFA 2010
 
Google App Engine - Devfest India 2010
Google App Engine -  Devfest India 2010Google App Engine -  Devfest India 2010
Google App Engine - Devfest India 2010
 
HTML5 offline
HTML5 offlineHTML5 offline
HTML5 offline
 
Ruby off Rails
Ruby off RailsRuby off Rails
Ruby off Rails
 
Managing technical communicators in an XML environment
Managing technical communicators in an XML environmentManaging technical communicators in an XML environment
Managing technical communicators in an XML environment
 
Advanced android
Advanced androidAdvanced android
Advanced android
 
Rana June 360i Dev Talk
Rana June 360i Dev TalkRana June 360i Dev Talk
Rana June 360i Dev Talk
 
Is the iPad just a big iPhone?
Is the iPad just a big iPhone?Is the iPad just a big iPhone?
Is the iPad just a big iPhone?
 

Kürzlich hochgeladen

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Kürzlich hochgeladen (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

@twitterapi meetup at Paypal Town Hall

  • 2. Twitter API #tmeetup @themattharris @mccv @paypalx @paypalx TM September 8, 2010 Wednesday, September 8, 2010
  • 3. About us TM Wednesday, September 8, 2010
  • 4. The team TM Wednesday, September 8, 2010
  • 5. dev.twitter.com The developer portal TM Wednesday, September 8, 2010
  • 6. Creating an app Your own small playground TM Wednesday, September 8, 2010
  • 10. Browsing docs TM Wednesday, September 8, 2010
  • 14. The Streams TM Wednesday, September 8, 2010
  • 15. What is Streaming? ‣ Push delivery of tweets, as opposed to the REST (pull) API ‣ Implemented as HTTP long poll, aka the web page that never ends ‣ JSON (preferred) or XML content TM Wednesday, September 8, 2010
  • 16. Streaming “Products” ‣ hoses - slices of the entire tweet corpus ‣ firehose ‣ filter ‣ sample ‣ users - focused on specific users’ content ‣ user streams ‣ site streams TM Wednesday, September 8, 2010
  • 17. Getting Started ‣ cURL is your friend ‣ twurl is an even better friend ‣ Many libraries available TM Wednesday, September 8, 2010
  • 18. User Streams ‣ Goals ‣ Support single-user connections (e.g. desktop applications) ‣ Reduce dependency on polling ‣ Provide a true real time experience to users TM Wednesday, September 8, 2010
  • 19. Data Delivered ‣ All data is delivered as a JSON message on a single line ‣ First message - your friends ‣ Statuses ‣ Direct Messages ‣ Events TM Wednesday, September 8, 2010
  • 20. What are Events? ‣ Events represent user activities that are not message delivery ‣ This includes ‣ favorites ‣ follows ‣ profile updates TM Wednesday, September 8, 2010
  • 21. Event Schema ‣ event - indicates the type of event ‣ source - the user who initiated the action ‣ target - the user who owns the affected object. ‣ target_object (optional) - the affected object ‣ created_at - the time this happened TM Wednesday, September 8, 2010
  • 22. Site Streams ‣ Goals ‣ Like User Streams ‣ But for “services”, not desktop apps. ‣ Multiplex many users’ events onto a single connection TM Wednesday, September 8, 2010
  • 23. Data Delivered ‣ Just the same as user stream ‣ But every message is wrapped with a “for_user” tag, which gives the ID of the user to whom this message applies TM Wednesday, September 8, 2010
  • 24. Keys to Success ‣ Use OAuth ‣ Use JSON ‣ Process messages asynchronously ‣ Make sure you have adequate bandwidth ‣ Be prepared for additional message types TM Wednesday, September 8, 2010
  • 25. More Info! Follow us at twitter.com/jkalucki twitter.com/mccv http://dev.twitter.com/pages/streaming_api TM Wednesday, September 8, 2010
  • 26. Tweet Button TM Wednesday, September 8, 2010
  • 29. Basic Example <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <a href="http://twitter.com/share" class="twitter-share-button">Tweet</a> TM Wednesday, September 8, 2010
  • 30. Customising ‣ url - URL of the page to share ‣ via - Screen name of the user to attribute the Tweet to ‣ text - Default Tweet text ‣ related - Related accounts ‣ count - Count box position ‣ lang - The language for the Tweet Button ‣ counturl - The URL to which your shared URL resolves to TM Wednesday, September 8, 2010
  • 31. Customised Example <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <div> <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://dev.twitter.com/pages/tweet_button" data-via="twitterapi" data-text="Checking out this page about Tweet Buttons" data-related="anywhere:The Javascript API" data-count="vertical">Tweet</a> </div> TM Wednesday, September 8, 2010
  • 32. Customised Example with Short URL <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <div> <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://bit.ly/twitter-api-announce" data-counturl="http://groups.google.com/group/twitter-api-announce" data-count="vertical">Tweet</a> </div> TM Wednesday, September 8, 2010
  • 33. More Info! http://dev.twitter.com/pages/tweet_button TM Wednesday, September 8, 2010
  • 34. Stay Informed... Join bit.ly/twitter-anywhere-talk bit.ly/twitter-dev-talk Important Stuff @twitterapi status.twitter.com bit.ly/twitter-api-announce TM Wednesday, September 8, 2010
  • 35. Help... Check out dev.twitter.com TM Wednesday, September 8, 2010
  • 36. Join the Flock! Find out more jobs.twitter.com TM Wednesday, September 8, 2010
  • 37. Questions? Follow us at twitter.com/twitterapi twitter.com/themattharris twitter.com/mccv TM Wednesday, September 8, 2010