node-red-contrib-twitter-2.0
Version:
NodeRED nodes to wrap the v1.1 of the Twitter API
24 lines (13 loc) • 1.2 kB
Markdown
# Twitter for NodeRED
[](https://www.redconnect.io/addons/twitter/)
An set of nodes that map the Twitter [REST](https://dev.twitter.com/rest/public) and [Streaming](https://dev.twitter.com/streaming/overview) API's.
## Installation
`npm install node-red-contrib-twitter-2.0`
if it doesn't work, you need an `npm install`
## Quick Start
You will need valid Twitter developer credentials in the form of a set of consumer and access tokens/keys. You can get these [here](https://apps.twitter.com/). Do not forgot to adjust your permissions - most POST request require write permissions.
## REST API
You simply need to pass the variables required by the endpoint in the payload. Take a look at the [documentation site](https://dev.twitter.com/rest/public) to reference available endpoints.
## Implemented Nodes
* Search Node - [https://dev.twitter.com/rest/reference/get/search/tweets](https://dev.twitter.com/rest/reference/get/search/tweets)
* Favorite Node - [https://dev.twitter.com/rest/reference/post/favorites/create](https://dev.twitter.com/rest/reference/post/favorites/create)