cdif-twitter

0.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i cdif-twitter

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • out4b