Twitter on the go!!!

1,105 views

Published on

Published in: Career, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,105
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Twitter on the go!!!

  1. 1. Adding presence-based and location-based capabilities in Twitter Mugdha Jamsandekar Priyanka Prabhu Neha Sugandh
  2. 2. What is Twitter …
  3. 3. Twitter <ul><li>Twitter is a free social networking and micro-blogging service that allows users to send &quot;updates&quot; (or &quot;tweets&quot;; text-based posts, up to 140 characters long) to the Twitter website, via short message service (e.g. on a cell phone), instant messaging, or third-party applications </li></ul><ul><li>Updates are displayed on the user's profile page and instantly delivered to other users who have signed up to receive them. </li></ul><ul><li>Users can receive updates via the Twitter website, instant messaging, SMS, email or through an application. </li></ul><ul><li>For SMS, four gateway numbers are currently available: short codes for the USA, Canada, and India, as well as UK number for international use. </li></ul>
  4. 4. Agenda <ul><li>What had we proposed? </li></ul><ul><li>What have we done so far? </li></ul><ul><li>What do we intend to complete? </li></ul><ul><li>Future Scope </li></ul>
  5. 5. What had we proposed ? <ul><li>An extension to Twitter to include groups. </li></ul><ul><li>Use location-based concept to notify group members within a certain area. </li></ul><ul><li>Use presence-based concept to notify Twitter friends about one's location. </li></ul><ul><li>Show location + presence pages containing messages sent by Twitter friends when they were in the vicinity of the location </li></ul>
  6. 6. Working USER CLIENT APPLICATION SERVER <ul><ul><li>Selects a group </li></ul></ul><ul><ul><li>Inputs message to be sent </li></ul></ul><ul><li>Embed user location using GPS </li></ul><ul><li>Integrate location and group id with message </li></ul><ul><li>Send message to Server using SMS </li></ul><ul><li>Retrieves members in the group </li></ul><ul><li>selected by the user from database </li></ul><ul><li>Retrieves their latest notified status message+ GPS location </li></ul><ul><li>Finds members within a particular distance radius </li></ul><ul><li>Sends them this message </li></ul><ul><li>Show GPS location of each Twitter friend </li></ul><ul><li>in the vicinity specified </li></ul><ul><li>Have a page showing the Twitter messages of these friends </li></ul><ul><li>when they were in the vicinity specified </li></ul>CLIENT APPLICATION
  7. 7. Technologies used <ul><li>Device </li></ul><ul><li>Motorola Symbol MC 35 </li></ul><ul><li>With Express GPS </li></ul><ul><li>Windows based OS </li></ul>
  8. 8. What have we done ? Client-side: User will have a form-like interface to start the application She/he selects a group from her list to send Twitter text message or simply send to 'Everyone‘ Send Message to Virtual User
  9. 9. What have we done ? Client-side: Get GPS of user from device and store in a file GPS Information: Latitude, Longitude Message = GroupID + Latitude + Longitude + Message (Using proper conversion)‏ Send message to the server
  10. 10. <ul><ul><li>Emulator: </li></ul></ul><ul><ul><li>Pocket PC 2003 </li></ul></ul><ul><ul><li>Development Framework: </li></ul></ul><ul><ul><li>.NET Framework 2.0 </li></ul></ul><ul><ul><li>IDE: </li></ul></ul><ul><ul><li>Microsoft Visual Studio 2005 </li></ul></ul>Client Side : Technologies Used
  11. 11. Server-Side Technologies Users <ul><li>For Location Based part: </li></ul><ul><li>Google Maps API </li></ul><ul><li>Web application hosted on our own domain </li></ul><ul><li>http://twittermaps.s41.eatj.com/map/twittermap1.jsp </li></ul><ul><li>Apache Tomcat 5.5, MySQL 5.0 Admin, Java 1.5 </li></ul>
  12. 12. Getting the GPS co-ordinates <ul><li>GPS </li></ul><ul><li>- Twenty-four operational satellites in orbit. </li></ul><ul><li>-Satellites are spaced in orbit so that at any time a minimum of six satellites will be in view </li></ul><ul><li>Interpreting Raw GPS data </li></ul><ul><li>-NMEA standard </li></ul><ul><li>-Example sentence </li></ul><ul><li>$GPRMC,040302.663,A,3939.7,N,10506.6,W,0.27,358.86,200804,,*1A </li></ul><ul><li>“ DDD°MM’SS.S”, “DD°MM.M’”, “DD°” for latitudes and longitudes </li></ul>
  13. 13. Workflow <ul><li>t </li></ul>User A wants to send a message to all friends in a range r Compute distances from GPS info in the database Show on map each location of the retrieved user co-ordinate Show a page containing Twitter messages for all the returned users
  14. 14. Details <ul><li>Depending on each user’s privacy setting, his GPS co-ordinates will be stored in the server database. </li></ul><ul><li>When a user wants to use the location based feature, all his friends who lie in a specific range will be retrieved along with their GPS co-ordinates and Twitter messages they posted at those locations </li></ul><ul><li>Render each retrieved location on maps </li></ul><ul><li>Show all the Twitter messages retrieved as above on the Location Based Page </li></ul>
  15. 15. Screenshots
  16. 16. Screenshots
  17. 17. What had we proposed? Server Side: <ul><li>Would be a virtual twitter user </li></ul><ul><li>Users would follow the twitter node and request server to send direct twitter messages </li></ul><ul><li>Server would parse the direct messages and send it to people according to the options selected by user . </li></ul>
  18. 18. What have we done ? Server-side: <ul><li>Message sent to the user is split into: group id, latitude, longitude and message </li></ul><ul><li>The latitude and longitude information is added to the database </li></ul><ul><li>The group members are obtained from database/all friends (from twitter). </li></ul><ul><li>The location information is obtained from database for group members/all friends </li></ul><ul><li>The proximity is calculated and message is sent to nearby users who satisfy criteria . </li></ul>
  19. 19. Server Side Technologies Used <ul><li>For Presence based part </li></ul><ul><li>MySQL 5.0 for storing the database </li></ul><ul><li>Java 1.5 :Java.sql package </li></ul><ul><li>JSP </li></ul>username groupid membername username groupid latitude longitude message
  20. 20. Future work…. <ul><li>Using ad sense to exploit the presence + location information </li></ul><ul><li>Automatic Recommendations for locations based on friend’s Twitter </li></ul><ul><li>messages at that place </li></ul>
  21. 21. Thank You <ul><li> </li></ul>

×