Twitter Commands

◷ Reading Time: 3 minutes

Authenticate

This process generates an Access Token for a user. The Access Token will then be used for Post Tweet.

Summary
Properties


○ Consumer Key: the API key of your Twitter application
○ Consumer Secret: the API secret of your Twitter application .
○ Copy Access Token: name of the parameter that holds the Authentication result.
○ Password: the user’s Twitter password.
○ Username or Email: the user’s Twitter Username or Email.

You should authenticate only once. Repeating multiple Twitter Authentications for the same account will notify the users “login from a new device” and Twitter also might ask security questions which will result in an error when using Twitter Authentication.

Asking to review authentication due to multiple authentication requests.
Asking to enter the associated phone number due to multiple authentication requests.
Asking to enter a reCAPTCHA due to multiple authentication requests.


Tokens and Credentials will never be saved nor cached by the Twitter extension.

Post a Tweet

Post a tweet or otherwise known as Tweeting.

Summary
Properties


○  Attachment Url (Optional): A tweet link or DM link. This will not be part of the tweet character count. For example: https://twitter.com/JDoe923333/status/1352048148059885569.
○ Consumer Key: the API key of your Twitter application
○ Consumer Secret: the API secret of your Twitter application .
○ Copy Result To (Optional): name of the parameter that holds the Tweet URL.
○ Media File Link (Optional): the file path of an image, video, or gif.
1. Supported image media types: JPG, PNG, GIF, WEBP.
2. Image size should be 5 MB or less, Video & GIF size should be 15 MB or less.
○ Token: generated either from your developer portal or from Twitter Authenticate.
○ Token Secret: generated either from your developer portal or from Twitter Authenticate.
○ Tweet: up to 280 characters only, should not be duplicated content (previous tweets of the same day) to avoid spam.

Updated on June 3, 2021

Was this article helpful?

Related Articles