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

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
🐬 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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
[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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Kürzlich hochgeladen (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

@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