0.0.4 • Published 8 years ago

cdif-twitter v0.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Introduction

CDIF's Twitter API implementation

Notes to Twitter API support in CDIF

This module provides Twitter API support to CDIF. The API request and response data are validated based on their JSON schema definitions which are acquired from the information from official Twitter API documentation.

A successful connection to this virtual twitter device would need to complete the OAuth authentication flow and means user granted access to CDIF and its authenticated clients to access contents in user's Twitter account.

This module relies on the code from Twitter node.js library trying not to reinvent the wheel. However because CDIF has its own abstraction to manage oauth flow and access tokens, we decide to manually copy the library code here and rewrite a few portion of them to integrate with this module.

For now the stream API is not support yet.

See following links for more details:

Common device interconnect framework

Twitter node.js library

Twitter API