@twitterapi meetup at Paypal Town Hall
Upcoming SlideShare
Loading in...5
×
 

@twitterapi meetup at Paypal Town Hall

on

  • 5,654 views

Presented 08 September 2010 at the Paypal Town Hall, San Jose

Presented 08 September 2010 at the Paypal Town Hall, San Jose

Statistics

Views

Total Views
5,654
Views on SlideShare
5,646
Embed Views
8

Actions

Likes
5
Downloads
27
Comments
0

5 Embeds 8

http://www.iweb34.com 4
http://www.onlydoo.com 1
http://lieema.net 1
http://www.twylah.com 1
https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    @twitterapi meetup at Paypal Town Hall @twitterapi meetup at Paypal Town Hall Presentation Transcript

    • 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