SlideShare uma empresa Scribd logo
1 de 50
The slides from
the talk done by
Alan Holding at
the Social Media
Cafe Manchester
on 14 May 2009 –
–
Paul Carruthers


@paulcarruthers
Alan Holding


@boredlizard
What is Twaffik?
 (it is not a business, btw)
An experiment
using Twitter that
   lets people in
 Manchester share
transport problems
How does it work?
1. You go on Twitter
and follow @twaffik
2. Twaffik follows you
 (which is important)
3. You send Twaffik a direct
 message about something
          d twaffik man rail
           Blinking flip the
              trains from
          Levenshulme are
               late again
4. Twaffik retweets the
message to its followers


        man rail Blinking
       flip the trains from
        Levenshulme are
            late again
5. Everyone gets depressed
What’ gives with
  the clumsy
message format?
d twaffik man rail
Blinking flip the trains
from Levenshulme are
       late again
d twaffik man rail
Blinking flip the trains
from Levenshulme are
       late again


            d twaffik

   Send a direct
 message to Twaffik
d twaffik man rail
Blinking flip the trains
from Levenshulme are
       late again


                 man

Three-letter airport
code for Manchester
d twaffik man rail
Blinking flip the trains
from Levenshulme are
       late again


                  rail

   Type of transport
       problem
d twaffik man rail
Blinking flip the trains
from Levenshulme are
       late again


 The actual message

       Blinking flip...
d twaffik man rail
Blinking flip the trains
from Levenshulme are
       late again


Only 140 characters

 Lots of junk before
   the good stuff
Popular?
Approx 170 messages since
     November 2008
Twaffikers
How it really works
   (the technical gubbins)
A mix of
  technologies...
Apache         Google   Twitter
         PHP
server          Mail     API
Twaffik runs
two routines
every minute
The first checks
  Gmail for new
   followers and
follows them back
The process starts
 with the emails
Twitter sends out
Notices settings
We set up Gmail to
 attach labels to
messages received
  from Twitter
Gmail labels
Gmail labels
We then scan the
 email header to
find the username
X-Twittersenderscreenname: therealprez
We then use the
Twitter API to follow
    that person
http://twitter.com/friendships/create/
            therealprez.xml
We then change the
Gmail label to stop
 that person being
followed next time
Following
Following
The second script
 checks Gmail for
 direct messages
and retweets them
Retweeting
Retweeting
To filter or not?
Bypass

Bybeep
Why not use the
Twitter API for
 everything?
Because it would
chew up our API
   allowance
“The default rate limit for calls to the
 REST API is 100 requests per hour.”
So, what next?
Apply for “‘whitelisting
 with the Twitter API?
Do an iPhone app?




             Courtesy of Apple
Thanks for listening




                   twaffik.info

Mais conteúdo relacionado

Destaque

The history and political system of the United Kingdom
The history and political system of the United KingdomThe history and political system of the United Kingdom
The history and political system of the United KingdomKarine Grigoryan
 
London presentation Powerpoint
London presentation PowerpointLondon presentation Powerpoint
London presentation PowerpointDupeyron
 
Generations of computer
Generations of computerGenerations of computer
Generations of computerJatin Jindal
 
The Uk Slideshare
The Uk   SlideshareThe Uk   Slideshare
The Uk SlideshareDitza Graca
 
Let's discover the uk ppt
Let's discover the uk pptLet's discover the uk ppt
Let's discover the uk pptateixidoca1
 
British culture
British cultureBritish culture
British cultureolszewa
 
Parts of a Computer
Parts of a ComputerParts of a Computer
Parts of a ComputerMatt Shea
 

Destaque (13)

The history and political system of the United Kingdom
The history and political system of the United KingdomThe history and political system of the United Kingdom
The history and political system of the United Kingdom
 
London presentation Powerpoint
London presentation PowerpointLondon presentation Powerpoint
London presentation Powerpoint
 
Generations of computer
Generations of computerGenerations of computer
Generations of computer
 
The Uk Slideshare
The Uk   SlideshareThe Uk   Slideshare
The Uk Slideshare
 
United kingdom
United kingdomUnited kingdom
United kingdom
 
Welcome to London
Welcome to LondonWelcome to London
Welcome to London
 
Uk Power Point
Uk Power PointUk Power Point
Uk Power Point
 
GENERATION OF COMPUTERS.
GENERATION OF COMPUTERS.GENERATION OF COMPUTERS.
GENERATION OF COMPUTERS.
 
England
EnglandEngland
England
 
Uk Ppt
Uk PptUk Ppt
Uk Ppt
 
Let's discover the uk ppt
Let's discover the uk pptLet's discover the uk ppt
Let's discover the uk ppt
 
British culture
British cultureBritish culture
British culture
 
Parts of a Computer
Parts of a ComputerParts of a Computer
Parts of a Computer
 

Último

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 

Último (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 

Twaffik (May 2009)

Notas do Editor