JSPM

cdif-twitter

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q13305F
  • License MIT

Twitter virtual device interface for CDIF framework

Package Exports

  • cdif-twitter

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cdif-twitter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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