Combining Signals with Context in the Internet of Things
-
Upload
romain-huet -
Category
Technology
-
view
56 -
download
0
Transcript of Combining Signals with Context in the Internet of Things
Combining signals with context in the Internet of Things
Romain Huet Developer Advocate @romainhuet
The Internet is made of people
@romainhuet
… and: objects, services, sensors the Internet of Things
@romainhuet
The Internet of Things isbroadcasting, analyzing, responding
@romainhuet
@TwitterAds | Confidential
255M+
500M+
77%
Active users
Tweets per day
of users are outside the US
2006 2014
@romainhuet
Twitter is global, open and real-time
@romainhuet
Twitter is the shortest distance between you (@) and what interests you most (#)
@romainhuet
Twitter is there at world events
@romainhuet
@romainhuet
Twitter is the pulseof the planet
@romainhuet
Using the Twitter Platform for the Internet of Things
@romainhuet
Many objects tweet
@romainhuet
from plants… to ferries…
@romainhuet
to houses…@romainhuet
to sensors…@romainhuet
@romainhuetto animals…
Smart environments
@romainhuet
Objects bring Tweets to the physical world
@romainhuet
@romainhuet
@romainhuet
@romainhuet
Twitter is a great I/O channel for the IoT
@romainhuet
@romainhuet
Twitter APIs deal both with the right now and what happened
@romainhuet
Streaming APIs allow you to ingest what’s happening right now
@romainhuet
Streaming APIs allow you to ingest what’s happening right now
POST https://stream.twitter.com/1.1/statuses/filter.json
follow: 3946301 track: #WorldCup locations: 2.1632,48.7429,2.5051,48.9679
Data:
@romainhuet
GET https://stream.twitter.com/1.1/statuses/sample.jsonReturns ~1% of all firehose data, statistically relevant.
Streaming APIs allow you to ingest what’s happening right now
GET https://stream.twitter.com/1.1/statuses/firehose.jsonReturns all firehose data, requires business deal.
@romainhuet
143,199Tweets per second
5,700 TPS on average
@romainhuet
REST APIs let you perform actionsand look at what happened
@romainhuet
Tweets GET statuses/show/:id
Timelines GET statuses/home_timelineGET statuses/user_timelineGET statuses/mentions_timeline
POST statuses/update
Search GET search/tweets…
Users, Favorites, Direct Messages, Followings & Followers,Lists, Saved Searches, Trends, Geo, Spam Reporting
REST APIs let you perform actionsand look at what happened
@romainhuet
Let’s see a demo! :)
@romainhuet
Streaming APIs t.co/streaming
Developer Resources
REST API t.co/rest
Create Apps t.co/apps
Open Source @Twitter t.co/opensource
Demos t.co/apidemos
Certified Products t.co/certified
@romainhuet
#ThankYou
Romain Huet @romainhuet [email protected]