Connect to your Twitter account
-
- Focus on the Config group of nodes. The reset context input forces the Conversation context to reset, which restarts the conversation from the beginning.
-
- Double-click the function node named add context. Edit the function to include the Twitter handle that you want the information to flow to:
handle: “<your_twitter_handle>”,
- Double-click the function node named add context. Edit the function to include the Twitter handle that you want the information to flow to:
-
- Click Done.
- Select the link node. Note that it flows directly to the conversation node.
-
- In the conversation group of nodes, double-click the twitter (Tweet) node.
-
- Click the Pencil icon. Then, click Click here to authenticate.
-
- If prompted, log in to Twitter. Then, click Authorize App.
-
- Wait for the authorization to complete.
-
- Go back to your Node-RED flow editor. Click Add. Then, click Done.
-
- Click Deploy to deploy your modified flow. Your application is now ready.
- Trigger a reset context.
-
- Trigger a set user details.
-
- Using either the mic or the sample text in inject nodes, interact with your application so that your application sends a tweet.
-
- Check Twitter for the tweet.