Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Twitter Vorstellung und Anwendungsfälle   Andreas Schreiber < [email_address] > Tech Talk, DLR Köln-Porz, 07.04.2009
Mikro-Blogging Wikipedia http://de.wikipedia.org/wiki/Mikro-Blogging „ Mikro-Blogging  ist eine Form des Bloggens, bei der...
Was ist Twitter? <ul><li>Mikro-Blogging-Dienst </li></ul><ul><li>Benutzer können Textnachrichten senden </li></ul><ul><li>...
Was ist Twitter? Twitter ist… <ul><li>Definitionen in <140 Zeichen aus der XING-Gruppe „I love Twitter!“ </li></ul><ul><li...
Historie <ul><li>Begründer   </li></ul><ul><li>Jack Dorsey, Biz Stone und Evan Williams </li></ul><ul><li>März 2006 </li><...
 
Was bringt Twitter? <ul><li>Große Bandbreite der Meinungen </li></ul><ul><li>„ Twitter ist nutzlos“ </li></ul><ul><li>„ Al...
Wer twittert? <ul><li>Personen (Privatpersonen, „Promis“, Politiker, …) </li></ul><ul><li>Guido van Rossum, Ian Foster, Ra...
 
Guido van Rossum
DLR_de
O‘Reilly
Plone
Focus Online
EuroPython
Web-Seiten und Technologie <ul><li>http://twitter.com </li></ul><ul><li>Web-Anwendung entwickelt mit Ruby on Rails </li></...
Twitter Basics (1) <ul><li>Tweet </li></ul><ul><li>Ein Post (Nachricht, Update) bei Twitter </li></ul><ul><li>Max. 140 Zei...
Twitter Basics (2) <ul><li>Follow </li></ul><ul><li>Auswahl von  „Friends“  für eigene Timeline („Stream“) </li></ul><ul><...
Twitter Basics (3) <ul><li>Replies </li></ul><ul><li>Antworten an andere User </li></ul><ul><li>Hinzufügen von  „@username...
Hashtags <ul><li>Schlagworte in Twitter-Meldungen </li></ul><ul><li>Beginnen mit einem Hash „#“ </li></ul><ul><li>Häufig v...
Kurze URLs <ul><li>Kurz-URL-Dienst   </li></ul><ul><li>Erstellung von  kurzen  Weiterleitungs-URLs auf andere URLs  </li><...
Twitter-Anwendungen <ul><li>Web-Anwendungen </li></ul><ul><li>Native Clients </li></ul><ul><li>Windows, Mac OS X, Linux </...
Twitter (Ruby on Rails) http://twitter.com
TweetDeck (Adobe AIR: Windows, Mac OS X, Linux) http://www.tweetdeck.com
twhirl (Adobe AIR: Windows, Mac OS X, Linux) http://www.twhirl.org
Tweetie (iPhone / iPod) http://www.atebits.com/software/tweetie
Twitterific (Mac OS X, iPhone/iPod) http://iconfactory.com/software/twitterrific Mac OS X iPhone/iPod
Mibbit (Web-basiert) http://www.mibbit.com
Ping.fm (Web-basiert) http://ping.fm
Instant Messanger Digsby (Python) http://www.digsby.com
XING Events
Qype
Hudson Continuous Integration Engine (Java)
Twitter API
Twitter API <ul><li>REST-basiertes API </li></ul><ul><li>HTTP-Requests </li></ul><ul><li>Datenformate: XML, JSON, RSS, Ato...
API-Methoden (1) <ul><li>Status Methods </li></ul><ul><li>public_timeline </li></ul><ul><li>friends_timeline </li></ul><ul...
API-Methoden (2) <ul><li>Favorite Methods </li></ul><ul><li>favorites </li></ul><ul><li>create </li></ul><ul><li>destroy <...
Twitter API: Getting Started (1) Public Timeline <ul><li>Holen der Public Timeline (letzte 20 Einträge) </li></ul><ul><li>...
Twitter API: Getting Started (2) Timeline der eigenen „Friends“  curl -u python_demo:python  http://twitter.com/statuses/f...
Twitter API: Getting Started (3) Veröffentlichung eines „Updates“ curl -u python_demo:****  -d status=&quot;This message w...
Bibliotheken <ul><li>Liste der Libraries:  http://apiwiki.twitter.com/Libraries </li></ul><ul><li>ActionScript / Flash </l...
Twitter Libraries in Java <ul><li>Java Libraries  </li></ul><ul><li>Twitter4J  by Yusuke Yamamoto. BSD licensed and Maven ...
Twitter Libraries in Python <ul><li>Python Libraries </li></ul><ul><li>python-twitter  by DeWitt Clinton.  This library pr...
python-twitter Pure Python Interface for the Twitter API <ul><li>Projektinformationen </li></ul><ul><li>Projektseite:  htt...
Beispiel Abfrage der Nachrichten eines Nutzers <ul><li>[u&quot;Video: @NASA's SOFIA mission update http://tinyurl.com/cmmn...
Beispiel Veröffentlichen einer Nachricht import  twitter api = twitter.Api(username= 'python_demo' ,    password= 'python'...
Beispiel Hinzufügen eines Freundes („Follow“) import  twitter api = twitter.Api(username= 'python_demo' , password= 'pytho...
Beispiel „tail –f“ nach Twitter # based on http://code.activestate.com/recipes/157035/ import  time, os import  twitter ap...
Beispiel „tail –f“ nach Twitter
Demo Twitter-Benachrichtigungen aus MoinMoin <ul><li>Twitter-Handler für das MoinMoin Event System </li></ul>python-twitter
Anwendungen <ul><li>Twitter-Meldungen bei Software-Engineering </li></ul><ul><li>Build-Status </li></ul><ul><li>SVNChecker...
Build-Status-Benachrichtigung aus Hudson
Verfolgen von PyPI Python Package Index <ul><li>http://twitter.com/pypi </li></ul>
Quelle: Stern 13/2009
Quellen <ul><li>Wikipedia </li></ul><ul><li>http://de.wikipedia.org/wiki/Twitter </li></ul><ul><li>http://en.wikipedia.org...
Fragen?
Nächste SlideShare
Wird geladen in …5
×

Twitter: Vorstellung und Anwendungsfälle

3.361 Aufrufe

Veröffentlicht am

TechTalk von Andreas Schreiber (DLR Köln-Porz, 07.04.2009)

Veröffentlicht in: Technologie, Business
  • These are one of the best companies for review articles. High quality with cheap rates. ⇒⇒⇒WRITE-MY-PAPER.net ⇐⇐⇐ I highly recommend it :)
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

Twitter: Vorstellung und Anwendungsfälle

  1. 1. Twitter Vorstellung und Anwendungsfälle Andreas Schreiber < [email_address] > Tech Talk, DLR Köln-Porz, 07.04.2009
  2. 2. Mikro-Blogging Wikipedia http://de.wikipedia.org/wiki/Mikro-Blogging „ Mikro-Blogging ist eine Form des Bloggens, bei der die Benutzer kurze, SMS-ähnliche Textnachrichten veröffentlichen können. Die Länge dieser Nachrichten beträgt meist weniger als 200 Zeichen. Die einzelnen Postings sind entweder privat oder öffentlich zugänglich und werden wie in einem Blog chronologisch dargestellt. Die Nachrichten können meist über verschiedene Kanäle wie SMS, E-Mail, Instant Messaging oder das Web erstellt und abonniert werden.“
  3. 3. Was ist Twitter? <ul><li>Mikro-Blogging-Dienst </li></ul><ul><li>Benutzer können Textnachrichten senden </li></ul><ul><li>Benutzer können Textnachrichten anderer Benutzer empfangen </li></ul><ul><li>Textnachrichten bestehen aus maximal 140 Zeichen </li></ul><ul><li>Die Nachrichten werden „Updates“ oder „Tweets“ genannt </li></ul><ul><li>Soziales Netzwerk </li></ul><ul><li>Man folgt anderen Benutzern („Following“) </li></ul><ul><li>Benutzer, die den eigenen Updates folgen, nennt man „Follower“ </li></ul><ul><li>Auf der Twitter-Startseite kann man Updates eingeben und … </li></ul><ul><li>die Updates der Personen, denen man folgt, nach der Zeit sortiert sehen </li></ul><ul><li>Benutzer können Sichtbarkeit der Nachrichten festlegen </li></ul>http://de.wikipedia.org/wiki/Twitter
  4. 4. Was ist Twitter? Twitter ist… <ul><li>Definitionen in <140 Zeichen aus der XING-Gruppe „I love Twitter!“ </li></ul><ul><li>moderner Kulturexpressionismus im Drang der digitalen Selbstinszenierung. </li></ul><ul><li>ein Nährboden für Themen-Emergenz </li></ul><ul><li>Wissensvernetzung, Horizonterweiterung und Disziplin! </li></ul><ul><li>die Möglichkeit auf unkonventionelle Art und Weise in Kontakt mit fremdem Personen zu gelangen. </li></ul><ul><li>ein Zwitter - zwischen Blog und Instant Messaging. </li></ul><ul><li>die SMS an die Welt </li></ul><ul><li>das virtuelle Kaffee - alles was wichtig ist, bei einem Plausch zwischendurch </li></ul><ul><li>DIE neue Methode der schnellen Kommunikation und &quot;stay-in-touch-Möglichkeit&quot; </li></ul>https://www.xing.com/net/twitter/
  5. 5. Historie <ul><li>Begründer </li></ul><ul><li>Jack Dorsey, Biz Stone und Evan Williams </li></ul><ul><li>März 2006 </li></ul><ul><li>Beginn als F&E-Projekt der Firma Odeo </li></ul><ul><li>Interne Nutzung der Odeo-Mitarbeiter </li></ul><ul><li>April 2007 </li></ul><ul><li>Ausgründung von Twitter als eigenständige Firma </li></ul><ul><li>User-Zahlen von twitter.com </li></ul><ul><li>Starker Anstieg im letzten Jahr </li></ul><ul><li>Keine genauen Zahlen veröffentlicht </li></ul>
  6. 7. Was bringt Twitter? <ul><li>Große Bandbreite der Meinungen </li></ul><ul><li>„ Twitter ist nutzlos“ </li></ul><ul><li>„ Alle sind stets present“ (  Virtuelles Großraumbüro) </li></ul><ul><li>Beobachtung </li></ul><ul><li>In vielen Fällen verbreiten sich Nachrichten über Twitter schneller, als über klassische Kanäle (TV, News-Webseiten, …) </li></ul>
  7. 8. Wer twittert? <ul><li>Personen (Privatpersonen, „Promis“, Politiker, …) </li></ul><ul><li>Guido van Rossum, Ian Foster, Rainer Calmund, Herrmann Otto Solms </li></ul><ul><li>Forschungseinrichtungen & Universitäten </li></ul><ul><li>DLR, ESA, NASA, Fraunhofer, DHBW Mannheim, FH Köln, Cardiff Uni. </li></ul><ul><li>Firmen (Verlage, IT-Firmen, Dienstleister, …) </li></ul><ul><li>O‘Reilly, Heise, Sun Microsystems, Google, XING, Starbucks, Bahn </li></ul><ul><li>Software-Projekte & -Produkte </li></ul><ul><li>Digsby, Dropbox, Plone, Jython, SharePoint, SlideShare, Camtasia </li></ul><ul><li>Medien (Zeitungen, TV-Sender, TV-Sendungen, …) </li></ul><ul><li>Bild, Welt, Focus, ZEIT, BBC, CNN, Pro7, TV Total </li></ul><ul><li>Konferenzen & Organisationen </li></ul><ul><li>EuroPython, PyCon, Supercomputing, EclipseCon, Greenpeace </li></ul>
  8. 10. Guido van Rossum
  9. 11. DLR_de
  10. 12. O‘Reilly
  11. 13. Plone
  12. 14. Focus Online
  13. 15. EuroPython
  14. 16. Web-Seiten und Technologie <ul><li>http://twitter.com </li></ul><ul><li>Web-Anwendung entwickelt mit Ruby on Rails </li></ul><ul><li>Message Queue Server Kestrel (fka. Starling) entwickelt in Scala </li></ul><ul><ul><li>Verfügbar unter Apache 2.0 Lizenz </li></ul></ul><ul><ul><li>http://github.com/robey/kestrel/tree/master </li></ul></ul><ul><li>http://search.twitter.com </li></ul><ul><li>Suche stammt von der Firma Summize </li></ul><ul><li>Echtzeit-Suche über den Twitter-XMPP-Stream </li></ul><ul><li>Abfragen über Atom und JSON: http://search.twitter.com/search.atom?q=<query> http://search.twitter.com/search.json?q=<query> </li></ul>
  15. 17. Twitter Basics (1) <ul><li>Tweet </li></ul><ul><li>Ein Post (Nachricht, Update) bei Twitter </li></ul><ul><li>Max. 140 Zeichen (inkl. Leerzeichen), nur Text </li></ul><ul><li>Timeline </li></ul><ul><li>Historie der letzten Updates </li></ul><ul><li>„ Public Timeline“: Updates aller User („Everyone“) </li></ul>
  16. 18. Twitter Basics (2) <ul><li>Follow </li></ul><ul><li>Auswahl von „Friends“ für eigene Timeline („Stream“) </li></ul><ul><li>„ Followers“ verfolgen die eigenen Updates </li></ul><ul><li>Personal Page </li></ul><ul><li>Eigene Timeline </li></ul><ul><li>Status-Informationen </li></ul>
  17. 19. Twitter Basics (3) <ul><li>Replies </li></ul><ul><li>Antworten an andere User </li></ul><ul><li>Hinzufügen von „@username“ in die Message </li></ul><ul><li>Replies können von den eigenen „Friends“ oder von Fremden kommen </li></ul><ul><li>Direct Messages </li></ul><ul><li>Private Meldungen </li></ul><ul><li>Können nur an „Follower“ geschickt werden, nicht an „Friends“ </li></ul><ul><li>Retweets </li></ul><ul><li>„ Weiterleiten“ interessanter Updates eigene Follower </li></ul><ul><li>Überlicherweise beginnt man Retweets mit „RT“ </li></ul>
  18. 20. Hashtags <ul><li>Schlagworte in Twitter-Meldungen </li></ul><ul><li>Beginnen mit einem Hash „#“ </li></ul><ul><li>Häufig verwendet für Veranstaltungen, Städtenamen, … </li></ul><ul><li>Beispiele </li></ul>#Oberhausen #pycon
  19. 21. Kurze URLs <ul><li>Kurz-URL-Dienst </li></ul><ul><li>Erstellung von kurzen Weiterleitungs-URLs auf andere URLs </li></ul><ul><li>Ursprünglich für unhandliche (lange) URLs </li></ul><ul><li>Weit verbereitet für Microblogging-Dienste mit kurzen Messages </li></ul><ul><li>Beispiel </li></ul><ul><li>Anbieter </li></ul><ul><li>Bekanntester Anbieter: http://tinyurl.com </li></ul><ul><li>Viele weitere: bit.ly, is.gd, cli.gs, tr.im, kl.am, … </li></ul><ul><li>Vergleich unter: http://tr.im/kurzurl </li></ul>http://de.wikipedia.org/wiki/Kurz-URL-Dienst Original: http://www.dlr.de/jobs/desktopdefault.aspx/tabid-3416/ Alias: http://tinyurl.com/dlrjobs
  20. 22. Twitter-Anwendungen <ul><li>Web-Anwendungen </li></ul><ul><li>Native Clients </li></ul><ul><li>Windows, Mac OS X, Linux </li></ul><ul><li>iPod/iPhone </li></ul><ul><li>Smartphones </li></ul><ul><li>Integration in existierende Anwendungen </li></ul><ul><li>Instant Messenger </li></ul><ul><li>Social Networking Dienste </li></ul><ul><li>Liste unter http://twitter.pbwiki.com/Apps </li></ul>
  21. 23. Twitter (Ruby on Rails) http://twitter.com
  22. 24. TweetDeck (Adobe AIR: Windows, Mac OS X, Linux) http://www.tweetdeck.com
  23. 25. twhirl (Adobe AIR: Windows, Mac OS X, Linux) http://www.twhirl.org
  24. 26. Tweetie (iPhone / iPod) http://www.atebits.com/software/tweetie
  25. 27. Twitterific (Mac OS X, iPhone/iPod) http://iconfactory.com/software/twitterrific Mac OS X iPhone/iPod
  26. 28. Mibbit (Web-basiert) http://www.mibbit.com
  27. 29. Ping.fm (Web-basiert) http://ping.fm
  28. 30. Instant Messanger Digsby (Python) http://www.digsby.com
  29. 31. XING Events
  30. 32. Qype
  31. 33. Hudson Continuous Integration Engine (Java)
  32. 34. Twitter API
  33. 35. Twitter API <ul><li>REST-basiertes API </li></ul><ul><li>HTTP-Requests </li></ul><ul><li>Datenformate: XML, JSON, RSS, Atom </li></ul><ul><li>Authentifizierung über OAuth (beta) oder HTTP Basic Authentication </li></ul><ul><li>Error-Meldungen im jewiligen Ausgabeformat, z.B. XML: </li></ul><ul><li>Limitierung: Max. 100 Requests in 60 Minuten pro Client </li></ul><ul><ul><li>Basis: IP (unauthorized) bzw. User ID (authorized) </li></ul></ul><ul><li>Dokumentation: http://apiwiki.twitter.com </li></ul><?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <hash> <request>/direct_messages/destroy/456.xml</request> <error>No direct message with that ID found.</error> </hash>
  34. 36. API-Methoden (1) <ul><li>Status Methods </li></ul><ul><li>public_timeline </li></ul><ul><li>friends_timeline </li></ul><ul><li>user_timeline </li></ul><ul><li>show </li></ul><ul><li>update </li></ul><ul><li>replies </li></ul><ul><li>destroy </li></ul><ul><li>Account Methods </li></ul><ul><li>verify_credentials </li></ul><ul><li>end_session </li></ul><ul><li>archive </li></ul><ul><li>update_location </li></ul><ul><li>update_delivery_device </li></ul><ul><li>User Methods </li></ul><ul><li>friends </li></ul><ul><li>followers </li></ul><ul><li>featured </li></ul><ul><li>show </li></ul><ul><li>Direct Message Methods </li></ul><ul><li>direct_messages </li></ul><ul><li>sent </li></ul><ul><li>new </li></ul><ul><li>destroy </li></ul><ul><li>Friendship Methods: </li></ul><ul><li>create </li></ul><ul><li>destroy </li></ul><ul><li>exists </li></ul>
  35. 37. API-Methoden (2) <ul><li>Favorite Methods </li></ul><ul><li>favorites </li></ul><ul><li>create </li></ul><ul><li>destroy </li></ul><ul><li>Help Methods </li></ul><ul><li>test </li></ul><ul><li>downtime_schedule </li></ul><ul><li>Notification Methods </li></ul><ul><li>follow </li></ul><ul><li>leave </li></ul><ul><li>Block Methods </li></ul><ul><li>create </li></ul><ul><li>destroy </li></ul>
  36. 38. Twitter API: Getting Started (1) Public Timeline <ul><li>Holen der Public Timeline (letzte 20 Einträge) </li></ul><ul><li>Als RSS </li></ul><ul><li>Als JSON </li></ul><ul><li>Als XML </li></ul>curl http://twitter.com/statuses/public_timeline.rss curl http://twitter.com/statuses/public_timeline.json curl http://twitter.com/statuses/public_timeline.xml
  37. 39. Twitter API: Getting Started (2) Timeline der eigenen „Friends“ curl -u python_demo:python http://twitter.com/statuses/friends_timeline.xml
  38. 40. Twitter API: Getting Started (3) Veröffentlichung eines „Updates“ curl -u python_demo:**** -d status=&quot;This message was sent using cURL&quot; http://twitter.com/statuses/update.json
  39. 41. Bibliotheken <ul><li>Liste der Libraries: http://apiwiki.twitter.com/Libraries </li></ul><ul><li>ActionScript / Flash </li></ul><ul><li>C++ </li></ul><ul><li>C#/.NET </li></ul><ul><li>Java </li></ul><ul><li>Objective-C/Cocoa </li></ul><ul><li>Perl </li></ul><ul><li>PHP </li></ul><ul><li>PL/SQL </li></ul><ul><li>Python </li></ul><ul><li>Ruby </li></ul><ul><li>Scala </li></ul>
  40. 42. Twitter Libraries in Java <ul><li>Java Libraries </li></ul><ul><li>Twitter4J by Yusuke Yamamoto. BSD licensed and Maven aware pure java interface for the Twitter API. </li></ul><ul><li>java-twitter by DeWitt Clinton. Pure java interface for the Twitter API. </li></ul><ul><li>jtwitter by Daniel Winterstein. Open-source pure Java Interface to Twitter. </li></ul>
  41. 43. Twitter Libraries in Python <ul><li>Python Libraries </li></ul><ul><li>python-twitter by DeWitt Clinton. This library provides a pure Python interface for the Twitter API. </li></ul><ul><li>python-twyt by Andrew Price. BSD licensed Twitter API interface library and command line client. </li></ul><ul><li>twitty-twister by Dustin Sallings. A Twisted interface to Twitter. </li></ul><ul><li>Python Twitter Tools (PPT) by Mike Verdone a Twitter API, command-line tool, and IRC bot </li></ul>
  42. 44. python-twitter Pure Python Interface for the Twitter API <ul><li>Projektinformationen </li></ul><ul><li>Projektseite: http://code.google.com/p/python-twitter/ </li></ul><ul><li>Autor: DeWitt Clinton (Google; http://unto.net) </li></ul><ul><li>Apache License 2.0 </li></ul><ul><li>Funktionsumfang </li></ul><ul><li>Status-Methoden </li></ul><ul><li>User-Methoden </li></ul><ul><li>Direct-Message-Methoden </li></ul>
  43. 45. Beispiel Abfrage der Nachrichten eines Nutzers <ul><li>[u&quot;Video: @NASA's SOFIA mission update http://tinyurl.com/cmmna3 #SOFIA (Stratospheric Observatory For Infrared Astronomy)&quot;, u'Video zur GOCE-Mission (Messung der Schwerkraft) http://tinyurl.com/c5zhdb #euronews', u'(EN) Now following @ESAGermany and @ESAGOCE', u'@AndreasSchepers Gute Frage. Immerhin hat die NASA-Mission keinen Vornamen. #Johannes #ATV #NASA', u'RT @AndreasSchepers Thomas Reiter: Wir wissen mehr xfcber den Mars als den Mond. http://is.gd/k7qZ #Mp3 #DeutschlandRadioKultur #DLR-Vorstand'] </li></ul>import twitter api = twitter.Api() statuses = api.GetUserTimeline( 'DLR_de' ) print [s.text for s in statuses[:5]]
  44. 46. Beispiel Veröffentlichen einer Nachricht import twitter api = twitter.Api(username= 'python_demo' , password= 'python' ) api.PostUpdate( 'Moin!' )
  45. 47. Beispiel Hinzufügen eines Freundes („Follow“) import twitter api = twitter.Api(username= 'python_demo' , password= 'python' ) user = api.CreateFriendship( 'pycologne' ) print user {&quot;description&quot;: &quot;Python User Group Cologne&quot;, &quot;id&quot;: 23515458, &quot;location&quot;: &quot;Cologne, Germany&quot;, &quot;name&quot;: &quot;PyCologne&quot;, &quot;profile_image_url&quot;: &quot;http://s3.amazonaws.com/twitter_production/profile_images/91413444/pycologne_logo_small_quadratisch_normal.jpg&quot;, &quot;screen_name&quot;: &quot;pycologne&quot;, &quot;url&quot;: &quot;http://www.pycologne.de&quot;}
  46. 48. Beispiel „tail –f“ nach Twitter # based on http://code.activestate.com/recipes/157035/ import time, os import twitter api = twitter.Api(username= 'python_demo' , password= 'python' ) file = open( 'test.log' , 'r' ) # ... <Find the size of the file and move to the end> while 1: where = file.tell() line = file.readline() if not line: time.sleep(1) file.seek(where) else : api.PostUpdate(line)
  47. 49. Beispiel „tail –f“ nach Twitter
  48. 50. Demo Twitter-Benachrichtigungen aus MoinMoin <ul><li>Twitter-Handler für das MoinMoin Event System </li></ul>python-twitter
  49. 51. Anwendungen <ul><li>Twitter-Meldungen bei Software-Engineering </li></ul><ul><li>Build-Status </li></ul><ul><li>SVNChecker-Meldungen </li></ul><ul><li>Twitter-Meldungen im verteilten Rechnen </li></ul><ul><li>Daten transferiert </li></ul><ul><li>Rechnung durchgeführt </li></ul><ul><li>Twitter-Meldungen vom Smartphone </li></ul><ul><li>Übermittlung des Orts </li></ul><ul><li>Überwachung von Systemen </li></ul><ul><li>Fehlermeldungen in log-Files (  „tail –f“-Demo) </li></ul><ul><li>Marketing </li></ul><ul><li>Ankündigung von Events und Software-Releases </li></ul>
  50. 52. Build-Status-Benachrichtigung aus Hudson
  51. 53. Verfolgen von PyPI Python Package Index <ul><li>http://twitter.com/pypi </li></ul>
  52. 54. Quelle: Stern 13/2009
  53. 55. Quellen <ul><li>Wikipedia </li></ul><ul><li>http://de.wikipedia.org/wiki/Twitter </li></ul><ul><li>http://en.wikipedia.org/wiki/Twitter </li></ul><ul><li>Why I Love Twitter (Tim O‘Reilly) </li></ul><ul><li>http://radar.oreilly.com/2008/11/why-i-like-twitter.html </li></ul><ul><li>Twitter Tips (TwiTip Weblog) </li></ul><ul><li>http://www.twitip.com/ </li></ul>
  54. 56. Fragen?

×