Skip to content

X (Twitter)

X (formerly known as Twitter) is a social media platform that enables users to send and read short 280-character messages known as "tweets". Registered users can post, like, and retweet tweets, but unregistered users can only read them. Users interact with Twitter through browser or mobile frontend applications, or programmatically via its APIs.

Key features of X (Twitter):

  • Following
  • Trending Topics
  • Twitter Threads
  • Lists
  • Direct Messages
  • Media Support

Triggers:

  • My Tweets: Triggers when you tweet something new.
  • New followers: Triggers when you have a new follower.
  • Search Tweets: Triggers when there is a new tweet containing a specific keyword, phrase, username or hashtag.
  • User Tweets: Triggers when a specific user tweet something new.

Actions:

  • Create Tweet: Creates a tweet.
  • Search User: Searches an user.

Connect with X (Twitter):

NOTE

The free plan on X (Twitter) only allows users to create a new tweet with the API. You need to upgrade to a paid plan to be able to search for tweets.

  1. Log in to your X (Twitter) account.

  2. Go to the X (Twitter) Developer Portal, complete the questionnaire and click the Let's do this button.

  3. Accept the Developer agreement policy on the following page, check the checkboxes and click the Submit button. Twitter_01.jpg

    WARNING

    If you see an error saying There was a problem completing your request. User must have a verified phone number on file prior to submitting application.  Go to the phone settings page and set up your phone number to be able to continue with step 2.

  4. You will receive a verification email from X (Twitter). Copy the verification code and paste it on X (Twitter) to confirm your e-mail address.

  5. Welcome to the the Dashboard. Your first Project app has already been generated. Twitter_02.jpg

  6. Click the Gear button to get access to the Settings tab and click the Edit button to change the App details.Twitter_03.jpg

  7. Enter an App name and click the Save button. Twitter_04.jpg Twitter_05.jpg

  8. Switch to the Keys and tokens tab. Click the Regenerate button. Twitter_06.jpg

  9. In the following pop-up click the Yes, regenerate button. Twitter_07.jpg

  10. Copy the API Key and API Key Secret values and save them for future use. Twitter_08.jpg

  11. Click the Yes, I saved them button.

  12. Switch back to the Settings tab. Twitter_09.jpg

  13. Go to the User authentication settings section and click the Set up button. Twitter_10.jpg

  14. In the OAuth 1.0A Settings section, select the Read and write option.

  15. In the Type of App section click the Web App, Automated App or Bot radio button to enable OAuth 2.0a authentication.

  16. Go to Mation and navigate to My Apps and Add a new connection choosing Twitter from the list. Twitter_11.jpg Twitter_12.jpg

  17. Copy OAuth Redirect URL from Mation and paste it into the Callback URI / Redirect URL field on X (Twitter). Twitter_13.jpg

  18. Fill in the Website URL and click the Save button.

  19. In the pop-up window click the Yes button. Twitter_14.jpg

  20. Copy the API Key and API Key Secret values you have saved from the 10th step and paste them into the API Key and API Secret fields on Mation, respectively. Twitter_15.jpg

  21. Click the Submit button.

  22. A pop-up window appears. Click the Authorize app button. Twitter_16.jpg

  23. Your Twitter connection is now established. Twitter_17.jpg

  24. Start using your new Twitter connection with Mation.