SlideShare a Scribd company logo
1 of 18
We are losing our tweets! An analysis, a prototype, lessons learned, and proposed third party solution to the problem John O’Brien III @jobrieniii http://www.linkedin.com/in/jobrieniii
Twitter “Primer” Social network / micro blogging site Send / read 140 character messages You can follow anyone, and they can follow you Sent messages are delivered to all your followers Sent messages are also publically indexed and searchable Permissions can be established to restrict delivery, but this is not the norm
Problem As the usage of Twitter has exploded, Twitter’s ability to provide long term access to tweets that mention key events (typically #hashtag’ed) has eroded
First, who cares? Individuals Bloggers Conference Attendees / Leaders Academia / “Web” Ecologists Media Outlets Companies Government
So lets dive into the problem... Followers Search
Search UI / API Constraints Limited to keywords, #hashtags, or @mentions within 140 char body of tweet  100 tweets x 15 pages = 1500 per search term For a given keyword, exists in search for “around 1.5 weeks but is dynamic and subject to shrink as the number of tweets per day continues to grow.” – Twitter website
Hmmmm…. No other ‘in the cloud’ sites were found back in June, only client side applications and ‘hacked’ custom scripts RSS feeds were considered but initially dismissed because they typically require an end user client Decision was to “build our own” and see if we can solve the problem
A little bit about my thoughts on the SDLC process… **FOCUS** ON LEARNING “Minimally Viable” PROTOTYPE
“Minimally Viable” Micro App What if we could get ahead of the problem and store the data before Twitter “loses” it? Functional Requirements Ability for user to define #hashtags of importance Create a background script that leverages the Twitter /search REST API to keep an eye on each hash tag and store data in local database **Sweep, grab, and record…** Must be running at all times and publically available Technical Specs Build on LAMP stack, put into the cloud, running 24/7/365
“Minimally Viable” Micro App internet php script to  query each #hashtag Twitter /search API Our Database
TwapperKeeper.com “BETA”was born on Saturday and released to public on Sunday…
And we started to grow and get customer feedback…
And we lived through a key world event… http://mashable.com/2009/09/16/white-house-records/
So what did we learn? We need to be whitelisted People often don’t start the archiving until after they start using #hashtags Thus, point forward solution not enough, need to reach back as well While hashtags are the norm, some people would just like to track keywords Velocity of tweets can be a major issue What if a hashtag results are greater than 1500 tweets per minute?   Hashtags of archive interest typically spike in velocity and die off in traffic. However some archives get VERY, VERY big!
And more learning… URL shortening services are of long time concern to users and archiving community Twitter /search REST API periodically is unresponsive  Twitter /search REST API sometimes glitches and returns duplicate data People want not only output in html, but raw exports for publication, analysis and real time consumption (txt, csv, xml, json, etc) Twitter engineers contact us and recommend also incorporating newly releasedreal time streams  /track, /sample , /firehose
Recommended “out-of-beta” V2.0 Anticipate #hashtags to archive based upon Twitter trending stats and autocreate archives Hybrid approach of using /search and /track (real time stream) APIs to handle velocity issues Check for duplicates “before” inserts Implement monitoring and “self healing” services Shortened URLs should be resolved into fully qualified URLs and stored separately for reference (at time of capture) Create TwapperKeeper API by modularizing the archiving engine into a SOA architecture (/create, /info, /get) for internal and external consumption Include additional output formats to be provided for download “Extracts” of large archives should be automatically generated  on a daily basis and made available for download VERSION  2.0
Recommended “out-of-beta” V2.0 Twitter /track API hybrid php / curl script to archive per #hashtag Monitor Health and Self Heal Twitter /search API auto create trends Twitter /trends API Our Database File extractor api /create /info /get external sites short url lookup
Questions?

More Related Content

Similar to We are losing our tweets!

The Open Source... Behind the Tweets
The Open Source... Behind the TweetsThe Open Source... Behind the Tweets
The Open Source... Behind the Tweets
Chris Aniszczyk
 
Microformats 101 Workshop
Microformats 101 WorkshopMicroformats 101 Workshop
Microformats 101 Workshop
Kelley Howell
 
Open Source Compliance at Twitter
Open Source Compliance at TwitterOpen Source Compliance at Twitter
Open Source Compliance at Twitter
Chris Aniszczyk
 
Mining Social Web APIs with IPython Notebook (PyCon 2014)
Mining Social Web APIs with IPython Notebook (PyCon 2014)Mining Social Web APIs with IPython Notebook (PyCon 2014)
Mining Social Web APIs with IPython Notebook (PyCon 2014)
Matthew Russell
 

Similar to We are losing our tweets! (20)

Mining Social Web APIs with IPython Notebook (Data Day Texas 2015)
Mining Social Web APIs with IPython Notebook (Data Day Texas 2015)Mining Social Web APIs with IPython Notebook (Data Day Texas 2015)
Mining Social Web APIs with IPython Notebook (Data Day Texas 2015)
 
How to start using Twitter
How to start using TwitterHow to start using Twitter
How to start using Twitter
 
The Open Source... Behind the Tweets
The Open Source... Behind the TweetsThe Open Source... Behind the Tweets
The Open Source... Behind the Tweets
 
APIs 101: What are they? What do they have to do with genealogy?
APIs 101: What are they? What do they have to do with genealogy?APIs 101: What are they? What do they have to do with genealogy?
APIs 101: What are they? What do they have to do with genealogy?
 
Microformats 101 Workshop
Microformats 101 WorkshopMicroformats 101 Workshop
Microformats 101 Workshop
 
Open Source Compliance at Twitter
Open Source Compliance at TwitterOpen Source Compliance at Twitter
Open Source Compliance at Twitter
 
Mining Social Web APIs with IPython Notebook (PyCon 2014)
Mining Social Web APIs with IPython Notebook (PyCon 2014)Mining Social Web APIs with IPython Notebook (PyCon 2014)
Mining Social Web APIs with IPython Notebook (PyCon 2014)
 
Hacking For Innovation
Hacking For InnovationHacking For Innovation
Hacking For Innovation
 
How PR can profit from RSS (March 2007)
How PR can profit from RSS (March 2007)How PR can profit from RSS (March 2007)
How PR can profit from RSS (March 2007)
 
Andy McGregor, JISC
Andy McGregor, JISCAndy McGregor, JISC
Andy McGregor, JISC
 
Real-Time Web Overview
Real-Time Web OverviewReal-Time Web Overview
Real-Time Web Overview
 
@twitter Try out #Grabeeter to Export, Archive and Search Your Tweets
@twitter Try out #Grabeeter to Export, Archive and Search Your Tweets@twitter Try out #Grabeeter to Export, Archive and Search Your Tweets
@twitter Try out #Grabeeter to Export, Archive and Search Your Tweets
 
Big Data Week 2013 Flow
Big Data Week 2013 FlowBig Data Week 2013 Flow
Big Data Week 2013 Flow
 
CSE5656 Complex Networks - Gathering Data from Twitter
CSE5656 Complex Networks - Gathering Data from TwitterCSE5656 Complex Networks - Gathering Data from Twitter
CSE5656 Complex Networks - Gathering Data from Twitter
 
Intranet 2.0 by Toby Ward, Prescient Digital Media
Intranet 2.0 by Toby Ward, Prescient Digital MediaIntranet 2.0 by Toby Ward, Prescient Digital Media
Intranet 2.0 by Toby Ward, Prescient Digital Media
 
What your IT Doesn't Know about Publishing DITA Content
What your IT Doesn't Know about Publishing DITA ContentWhat your IT Doesn't Know about Publishing DITA Content
What your IT Doesn't Know about Publishing DITA Content
 
Documenting APIs: Sample Code and More (with many pictures of cats)
Documenting APIs: Sample Code and More (with many pictures of cats)Documenting APIs: Sample Code and More (with many pictures of cats)
Documenting APIs: Sample Code and More (with many pictures of cats)
 
Social Media Data Collection & Analysis
Social Media Data Collection & AnalysisSocial Media Data Collection & Analysis
Social Media Data Collection & Analysis
 
Why Twitter’s New Product “Curator” Could Save Social Marketers Hours
Why Twitter’s New Product “Curator” Could Save Social Marketers HoursWhy Twitter’s New Product “Curator” Could Save Social Marketers Hours
Why Twitter’s New Product “Curator” Could Save Social Marketers Hours
 
"Pimp Up Your Stuff!": How To Exploit The Social Web
"Pimp Up Your Stuff!": How To Exploit The Social Web"Pimp Up Your Stuff!": How To Exploit The Social Web
"Pimp Up Your Stuff!": How To Exploit The Social Web
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

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...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

We are losing our tweets!

  • 1. We are losing our tweets! An analysis, a prototype, lessons learned, and proposed third party solution to the problem John O’Brien III @jobrieniii http://www.linkedin.com/in/jobrieniii
  • 2. Twitter “Primer” Social network / micro blogging site Send / read 140 character messages You can follow anyone, and they can follow you Sent messages are delivered to all your followers Sent messages are also publically indexed and searchable Permissions can be established to restrict delivery, but this is not the norm
  • 3. Problem As the usage of Twitter has exploded, Twitter’s ability to provide long term access to tweets that mention key events (typically #hashtag’ed) has eroded
  • 4. First, who cares? Individuals Bloggers Conference Attendees / Leaders Academia / “Web” Ecologists Media Outlets Companies Government
  • 5. So lets dive into the problem... Followers Search
  • 6. Search UI / API Constraints Limited to keywords, #hashtags, or @mentions within 140 char body of tweet 100 tweets x 15 pages = 1500 per search term For a given keyword, exists in search for “around 1.5 weeks but is dynamic and subject to shrink as the number of tweets per day continues to grow.” – Twitter website
  • 7. Hmmmm…. No other ‘in the cloud’ sites were found back in June, only client side applications and ‘hacked’ custom scripts RSS feeds were considered but initially dismissed because they typically require an end user client Decision was to “build our own” and see if we can solve the problem
  • 8. A little bit about my thoughts on the SDLC process… **FOCUS** ON LEARNING “Minimally Viable” PROTOTYPE
  • 9. “Minimally Viable” Micro App What if we could get ahead of the problem and store the data before Twitter “loses” it? Functional Requirements Ability for user to define #hashtags of importance Create a background script that leverages the Twitter /search REST API to keep an eye on each hash tag and store data in local database **Sweep, grab, and record…** Must be running at all times and publically available Technical Specs Build on LAMP stack, put into the cloud, running 24/7/365
  • 10. “Minimally Viable” Micro App internet php script to query each #hashtag Twitter /search API Our Database
  • 11. TwapperKeeper.com “BETA”was born on Saturday and released to public on Sunday…
  • 12. And we started to grow and get customer feedback…
  • 13. And we lived through a key world event… http://mashable.com/2009/09/16/white-house-records/
  • 14. So what did we learn? We need to be whitelisted People often don’t start the archiving until after they start using #hashtags Thus, point forward solution not enough, need to reach back as well While hashtags are the norm, some people would just like to track keywords Velocity of tweets can be a major issue What if a hashtag results are greater than 1500 tweets per minute? Hashtags of archive interest typically spike in velocity and die off in traffic. However some archives get VERY, VERY big!
  • 15. And more learning… URL shortening services are of long time concern to users and archiving community Twitter /search REST API periodically is unresponsive Twitter /search REST API sometimes glitches and returns duplicate data People want not only output in html, but raw exports for publication, analysis and real time consumption (txt, csv, xml, json, etc) Twitter engineers contact us and recommend also incorporating newly releasedreal time streams /track, /sample , /firehose
  • 16. Recommended “out-of-beta” V2.0 Anticipate #hashtags to archive based upon Twitter trending stats and autocreate archives Hybrid approach of using /search and /track (real time stream) APIs to handle velocity issues Check for duplicates “before” inserts Implement monitoring and “self healing” services Shortened URLs should be resolved into fully qualified URLs and stored separately for reference (at time of capture) Create TwapperKeeper API by modularizing the archiving engine into a SOA architecture (/create, /info, /get) for internal and external consumption Include additional output formats to be provided for download “Extracts” of large archives should be automatically generated on a daily basis and made available for download VERSION 2.0
  • 17. Recommended “out-of-beta” V2.0 Twitter /track API hybrid php / curl script to archive per #hashtag Monitor Health and Self Heal Twitter /search API auto create trends Twitter /trends API Our Database File extractor api /create /info /get external sites short url lookup

Editor's Notes

  1. Love the circle!