Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

what is-twitter


Published on

Presentation regarding the use and importance of twitter!

Published in: Education
  • Be the first to comment

  • Be the first to like this

what is-twitter

  1. 1. Twitter
  2. 2. <ul><li>Twitter is a social networking and micro-blogging service that enables its users to send and read other user’s updates. </li></ul>
  3. 3. <ul><li>Lightweight micro-blogging platform </li></ul><ul><li>• Short (<140) text messages to followers </li></ul><ul><li>River of updates from those you follow (friends) </li></ul><ul><li>Some conventions: </li></ul><ul><li>• d username = direct message </li></ul><ul><li>• @username = reply </li></ul><ul><li>– Unlike DMs, replies are public </li></ul><ul><li>ser determines whether to see replies from folks not followed </li></ul><ul><li>• #tag = hashtag (, </li></ul><ul><li>Multiple modes of access </li></ul><ul><li>• Mobile (SMS or Mobile Web) </li></ul><ul><li>• Web Browser </li></ul><ul><li>• Other Client (Using API) </li></ul>
  4. 4. <ul><li>@ reply: A comment aimed at one user, but visible to the public. </li></ul><ul><li>DM: A direct message sent in private to another user. </li></ul>
  5. 5. <ul><li>Retweeting: Sharing someone else’s post. Often abbreviated “RT.” </li></ul>
  6. 6. Questions for your followers Eg: “anyone sick of Facebook, yet?” ?… !… !…
  7. 9. <ul><li>Raise awareness </li></ul><ul><li>Offer proactive customer service </li></ul><ul><li>Answer questions </li></ul><ul><li>Promote events, products, services </li></ul>
  8. 10. <ul><li>Use to search for their brand </li></ul><ul><li>When mentioned can take action on items </li></ul><ul><li>Publicly respond when possible to show openness and responsiveness. </li></ul><ul><li>Others will generally have had the same question </li></ul><ul><li>People say things faster on twitter than they would via email or phone </li></ul>
  9. 11. <ul><li>Who is on Twitter </li></ul><ul><ul><li>Starbucks, Southwest Airlines, Dell, Zappos, Little Debbie </li></ul></ul>
  10. 12. <ul><li>Using twitter content to make something unique, different, or complimentary </li></ul>
  11. 17. <ul><li>Most access to Twitter is via the API </li></ul><ul><li>• 10x more than the Web interface </li></ul><ul><li>• Desktop clients like twhirl, twitterrific </li></ul><ul><li>• Mobile clients TinyTwitter, PocketTweets, iTweet </li></ul><ul><li>Well documented in Google Group </li></ul><ul><li>( </li></ul><ul><li>Provides access to core data simply </li></ul><ul><li>• XML, JSON data formats </li></ul><ul><li>• RSS, ATOM syndication formats </li></ul><ul><li>Basic http authentication where needed </li></ul><ul><li>Rate limited </li></ul><ul><li>• On reads (gets): </li></ul><ul><li>• Unlimited writes (posts) </li></ul>
  12. 18. <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>
  13. 19. <ul><li>Use the Twitter API to fake “group” functions </li></ul><ul><li>Create a new “group” account </li></ul><ul><li>Follow back folks who follow that account </li></ul><ul><li>When those users tweet with a hashtag, repost that tweet so that all followers see it, prefaced with the username of the original poster </li></ul><ul><li>Could have sent direct messages instead </li></ul><ul><li>Hashtag could be the name of the account but doesn't have to be </li></ul>
  14. 20. <ul><li>Whole thing runs on a cron job </li></ul><ul><li>• Rate limiting – 70 requests in 60 minutes </li></ul><ul><li>• Unlimited posting </li></ul><ul><li>Get friends_timeline.xml </li></ul><ul><li>Returns the 20 most recent statuses posted in the last 24 hours from the authenticating user and that user's friends. </li></ul><ul><li>curl -u email:password </li></ul><ul><li>Loop through posts in friends_timeline </li></ul><ul><li>• Remove the group account itself (avoid loop!!) </li></ul><ul><li>• Find all tweets in timeline beginning with hashtag </li></ul><ul><li>• Put in database, with datestamp and id </li></ul><ul><li>Pull all “un-retweeted” tweets from database </li></ul><ul><li>Post those tweets, updating “retweeted” status as they post </li></ul>
  15. 21. <ul><li>Source code: </li></ul><ul><li> </li></ul><ul><li>Open Source, GPLv3 license </li></ul><ul><li>Uses: </li></ul><ul><li>• PHP 5 (SimpleXMLElement rocks) </li></ul><ul><li>• MySQL DB </li></ul><ul><li>• cron or equivalent (scheduled command line invocation) </li></ul><ul><li>• cURL </li></ul>
  16. 23. Big Tome From books
  17. 24. Big Tome pdf To lightweight documents
  18. 25. Big Tome pdf My blog To blog posts
  19. 26. Big Tome pdf My blog To text messaging
  20. 27. Big Tome pdf My blog Welcome to the microblogging revolution
  21. 28. My blog
  22. 29. No titles My blog My blog
  23. 30. No titles My blog My blog No categories
  24. 31. No titles My blog My blog No categories
  25. 32. No titles My blog My blog No categories My blog Tighter text
  26. 33. My blog My blog My blog
  27. 34. <ul><li>According to Google Trends , site traffic has mushroomed over the last year </li></ul>
  28. 35. Mobile internet is still small but growing fast
  29. 36. Conclusion : make it simple is beautiful!