integration-service
latest
false
Integration Service User Guide
Automation CloudAutomation Cloud Public Sector
Last updated Nov 6, 2024

X authentication

Prerequisites

To be able to create a connection, you need to have a X account with the following credentials:

  • a Username or email address associated with your account
  • a Password to your account

Add the X connection

To create a connection to your X instance, you need to perform the following steps:

  1. Select Integration Service from Automation CloudTM.

  2. From the Connectors list, select X.

    You can also use the search bar to narrow down the connector.

  3. Select the Add connection button.
  4. You are redirected to the login page where you must provide your username or your email address and your password.

  5. Select Authorize app. With access to your X account, UiPath for X can do the following:

    • See tweets from your timeline (including protected tweets) as well as your lists and collections.
    • See your X profile information and account settings.
    • See accounts you follow, mute, and block.
    • Follow and unfollow accounts for you.
    • Update your profile and account settings.
    • Post and delete tweets for you, and engage with tweets posted by others (like, un-like, or reply to a tweet, retweet, etc.) for you.
    • Create, manage, and delete lists and collections for you.
    • Mute, block, and report accounts for you.
    • Send direct messages for you and read, manage, and delete your direct messages.
    • See your email address.
  6. Your connection has been added.

For more information on authenticating with X, refer to X documentation.

In case you want to create a private app and use the BYOA authentication, follow the below steps:

  1. On the authentication page, click the gear icon and select Bring your own OAuth 2.0 appdocs image
  2. Provide your private OAuth2 app’s Client ID and Client secret and click Connect.

  3. Follow steps 4-6 of the tutorial above that explains now to add the X connection.

Note: For creating a private OAuth app, follow the steps mentioned in the X documentation i.e. X developer Apps overview.

Scopes and permissions

You can use the connection to enable the X activities in UiPath Studio to build automations for tweeting or retrieving tweet, user info. The various permission-based use cases that can be achieved are as follows:

Scope/PermissionUsecaseActivity/Event
tweet.readRetrieve or search tweets mentioning a particular hashtag or keyword or user or list all the tweets of a user

Search Tweets

List All User Tweets

List All User Mentions

List All Users that Liked

List All Users that Retweeted

List All Followers

List All Following

tweet.writeSend or retweet a tweet for online campaigns, notifications of events or conducting poll

Send Tweet

Retweet Tweet

users.readRetrieve or search users that interacted with a tweet by say, retweeting it. Also, retrieving the user info based on username

Search Tweets

List All Users that Retweeted

List All Users that Liked

Get User by Username

List All User Mentions

List All Followers

List All Following

like.readPerform sentiment analysis by retrieving all the users that liked a tweetList All Users that Liked
follows.readRetrieve the list of followers or following of a user

List All Followers

List All Following

list.readRetrieve all the users that are part of a list owned by the user or retrieve the owned/followed lists of the user

List All Records → Lists members

List All Records → Users owned lists

List All Records → Users followed lists

  • Prerequisites
  • Add the X connection
  • Scopes and permissions

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.