FAQ
Integration Guides
Twitter (X) Connection

Twitter (X) Connection

In this discussion, we'll go through how to set it up Twitter (X) with viaSocket.

1. Create a Twitter(X) Developer account:

• If you don't already have a Twitter Developer account, you need to set one up.

• It only takes a few minutes.

• Go to this page and sign up for a free account: https://developer.x.com

Your paragraph text - 2025-08-23T122152.013.png

Once you signup, you will be asked to briefly describe your use case of Twitter's API.

You can use the below mentioned use cases for reference:

Your paragraph text - 2025-08-23T122347.021.png

  1. As a viaSocket user, I can automate my Twitter marketing using the Twitter Data API. With viaSocket, I can easily post tweets with media, search for users, and send direct messages without leaving the platform.

  2. viaSocket’s "Create a Tweet with Media" action allows me to upload media files and attach them to tweets directly within the viaSocket interface.

  3. The "Search Twitter Users" action in viaSocket helps me find users based on location, interests, or hashtags. Additionally, I can use the "Send Direct Message" action to contact users directly.

  4. By integrating with the Twitter Data API, viaSocket simplifies social media marketing. I can schedule tweets, track engagement, and communicate with users to grow my presence on Twitter—all from within the viaSocket platform.

• Click Submit.

• Now you can access your twitter developer's portal.

How to setup your app in Twitter:

If you click the "Twitter API v2" project, you should see that you are on a Free account.

You will be able to publish up to 1500 tweets per month.

This covers scheduling and social inbox for most users.

To enable analytics, posting condition, the best time to post, and other advanced features, you will need to upgrade to their Basic plan, which cost $100/month.

Read more about what's included in the different plans here: https://developer.x.com/en/docs/x-api/getting-started/about-x-api

  1. Go to the Projects & Apps menu.

  2. Click on you App Name.

  3. Go to setting icon.

    Your paragraph text - 2025-08-23T123406.599.png

  4. You will see that a default project and a default app have been created for you. This is all we need.

    Under User authentication settings, click the Set up button.

    Your paragraph text - 2025-08-23T123700.221.png

Set up user authentication as follows:

• Request for the Read and write and Direct message app permissions and under type of App choose Web App, Automated App, or Bot.

Your paragraph text - 2025-08-23T131333.629.png

• Under App info add this URL in Callback URL / Redirect URL enter this URL: https://auth.viasocket.com/redirect/auth2.0

• Enter your website URL in the Website URL field: https://www.Your-URL.com/

• Other details are optional; you can provide your personal information there.

• Then click Save.

Your paragraph text - 2025-08-23T131843.546.png

• After save click Yes on the confirmation screen.

How to get you Oauth 2.0 Client Id and Client secret?

Once you confirm the changes in the App permission in the last screen, you will be redirected to the Client Id and The Client Secret.

Your paragraph text - 2025-08-23T125138.048.png

Once you get your Client Id and Client Secret keys, please save it for your future reference.

Setting up Twitter with viaSocket:

You will now have a Client ID and a Client Secret.

Steps to follow:

- Connect to viaSocket

- Create a Workflow. And name the workflow as per your requirement.

- At Action choose Twitter(x). Then click Connect.

- Here you need to provide your Client ID and Client Secret.

Your paragraph text - 2025-08-23T125537.162.png

- And Click on Save.