Combining Signals with Context in the Internet of Things

33
Combining signals with context in the Internet of Things Romain Huet Developer Advocate @romainhuet

Transcript of Combining Signals with Context in the Internet of Things

Page 1: Combining Signals with Context in the Internet of Things

Combining signals with context in the Internet of Things

Romain Huet Developer Advocate @romainhuet

Page 2: Combining Signals with Context in the Internet of Things

The Internet is made of people

@romainhuet

Page 3: Combining Signals with Context in the Internet of Things

… and: objects, services, sensors the Internet of Things

@romainhuet

Page 4: Combining Signals with Context in the Internet of Things

The Internet of Things isbroadcasting, analyzing, responding

@romainhuet

Page 5: Combining Signals with Context in the Internet of Things

@TwitterAds | Confidential

255M+

500M+

77%

Active users

Tweets per day

of users are outside the US

2006 2014

@romainhuet

Page 6: Combining Signals with Context in the Internet of Things

Twitter is global, open and real-time

@romainhuet

Page 7: Combining Signals with Context in the Internet of Things

Twitter is the shortest distance between you (@) and what interests you most (#)

@romainhuet

Page 8: Combining Signals with Context in the Internet of Things

Twitter is there at world events

@romainhuet

Page 9: Combining Signals with Context in the Internet of Things

@romainhuet

Page 10: Combining Signals with Context in the Internet of Things

Twitter is the pulseof the planet

@romainhuet

Page 11: Combining Signals with Context in the Internet of Things

Using the Twitter Platform for the Internet of Things

@romainhuet

Page 12: Combining Signals with Context in the Internet of Things

Many objects tweet

@romainhuet

Page 13: Combining Signals with Context in the Internet of Things

from plants… to ferries…

@romainhuet

Page 14: Combining Signals with Context in the Internet of Things

to houses…@romainhuet

Page 15: Combining Signals with Context in the Internet of Things

to sensors…@romainhuet

Page 16: Combining Signals with Context in the Internet of Things

@romainhuetto animals…

Page 17: Combining Signals with Context in the Internet of Things

Smart environments

@romainhuet

Page 18: Combining Signals with Context in the Internet of Things

Objects bring Tweets to the physical world

@romainhuet

Page 19: Combining Signals with Context in the Internet of Things

@romainhuet

Page 20: Combining Signals with Context in the Internet of Things

@romainhuet

Page 21: Combining Signals with Context in the Internet of Things

@romainhuet

Page 22: Combining Signals with Context in the Internet of Things

Twitter is a great I/O channel for the IoT

@romainhuet

Page 23: Combining Signals with Context in the Internet of Things

@romainhuet

Page 24: Combining Signals with Context in the Internet of Things

Twitter APIs deal both with the right now and what happened

@romainhuet

Page 25: Combining Signals with Context in the Internet of Things

Streaming APIs allow you to ingest what’s happening right now

@romainhuet

Page 26: Combining Signals with Context in the Internet of Things

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

Page 27: Combining Signals with Context in the Internet of Things

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

Page 28: Combining Signals with Context in the Internet of Things

143,199Tweets per second

5,700 TPS on average

@romainhuet

Page 29: Combining Signals with Context in the Internet of Things

REST APIs let you perform actionsand look at what happened

@romainhuet

Page 30: Combining Signals with Context in the Internet of Things

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

Page 31: Combining Signals with Context in the Internet of Things

Let’s see a demo! :)

@romainhuet

Page 32: Combining Signals with Context in the Internet of Things

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

Page 33: Combining Signals with Context in the Internet of Things

#ThankYou

Romain Huet @romainhuet [email protected]