You are here

Sample Source Code: Nest and Twitter Server Side Integration Followers

Nest provides sample code showing a server side integration between Nest and Twitter. With the code, developers can pair a Twitter account to their own Nest account. To start developers will need a Twitter API key and access tokens for both Twitter and Nest accounts. Developers can also learn how to handle authorization and erros, implement listeners to respond to changes in Nest data, use Scala to interact with Nest, read and write thermostat, away, ETA, smoke alarm batter, smoke and CO states and update their Twitter status based on data from the Nest service.