NodeRED nodes to wrap the v1.1 of the Twitter API
npm install node-red-contrib-twitter
You will need valid Twitter developer credentials in the form of a set of consumer and access tokens/keys. You can get these here. Do not forgot to adjust your permissions - most POST request require write permissions.
You simply need to pass the variables required by the endpoint in the payload. Take a look at the documentation site to reference available endpoints.
- Search Node - https://dev.twitter.com/rest/reference/get/search/tweets
- Favorite Node - https://dev.twitter.com/rest/reference/post/favorites/create