---
title: "Integrating a Twitter Account"
slug: "integrating-a-twitter-account"
description: "This document explains how to create and integrate a developer account on Twitter and how to create an app for generating API tokens."
tags: ["Creating OAuth Provider", "OAuth Provider", "OAuth Token", "Provider", "token", "twitter"]
updated: 2026-07-02T17:33:48Z
published: 2026-07-02T17:33:48Z
canonical: "documentation.decisions.com/integrating-a-twitter-account"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrating a Twitter Account

## Overview

This document reviews how to integrate a Twitter account with Decisions.

Prerequisite

The example below requires the following before proceeding:

- Administrative users must have an existing [Twitter Developer Account](https://developer.twitter.com/en/apply-for-access) to create an app from which API tokens may be generated.
- [Install](/version-10/docs/installing-modules-decisions) the **Twitter Module.**
- [Project Dependency](https://documentation.decisions.com/version-10/docs/project-dependencies).

## Example

This example will demonstrate how to connect Decisions to Twitter and post a tweet.

1. Once the Consumer API keys are noted, login as an Admin account in Decisions Studio. Navigate to **System > Integrations > OAuth > Providers. Then**, click **Twitter and** select **Edit Provider Settings**.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783013506466.png)
2. In the **Edit OAuth Provider**window form, add the Consumer Key and Consumer Secret API keys. Then, click SAVE.Be sure OAuth 1.X is selected. Twitter requires OAuth 1 for posting tweets.

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783013524769.png)
3. Navigate to **System > Integrations > OAuth > Token**. Select **Create Token**.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783013546534.png)
4. If using localhost, click OK on the Warning dialog.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783013564151.png)
5. Name the Token and click the Providers dropdown list. Select Twitter and click OK.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783013583086.png)
6. Navigate to System > Integrations > External Services.

### Add REST Service

Next set up a Twitter API integration in Decisions. Navigate to **System > Integrations > External Services** and select **Add REST Service Integration**.

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783013602421.png)

Give the service a name and set the service URL is set to **https://api.twitter.com/1.1/statuses/update.json** and type is **JSON**.

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783013618895.png)

### Create a Flow and Test Connection

In a Designer Folder select **Create Flow**. Name the flow and select **Create**. In the steps panel expand **Integration > REST Services**, drag a TwitterCall step into the workspace.

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779994188327.png)

Configure the **REST** step by selecting the name of the new token (TwitterToken in our example). Complete the **Body** text with the tweet structure shown under the Inputs screenshot. Run the Flow.

```
"created_at": "Thu Apr 06 15:24:15 +0000 2017",
  "id_str": "850006245121695744",
  "text": "1\/ Today we\u2019re sharing our vision for the future of the Twitter API platform!\nhttps:\/\/t.co\/XweGngmxlP",
  "user": {
    "id": 2244994945,
    "name": "Twitter Dev",
    "screen_name": "TwitterDev",
    "location": "Internet",
    "url": "https:\/\/dev.twitter.com\/",
    "description": "Your official source for Twitter Platform news, updates & events. Need technical help? Visit https:\/\/twittercommunity.com\/ \u2328\ufe0f #TapIntoTwitter"
  },
  "place": {   
  },
  "entities": {
    "hashtags": [      
    ],
    "urls": [
      {
        "url": "https:\/\/t.co\/XweGngmxlP",
        "unwound": {
          "url": "https:\/\/cards.twitter.com\/cards\/18ce53wgo4h\/3xo1c",
          "title": "Building the Future of the Twitter API Platform"
        }
      }
    ],
    "user_mentions": [     
    ]
  }
}
```

This is the result of the tweet created by the example tweet structure.

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/5202020_238.png)

#### Helpful Twitter Links:

[Intro to Tweet Json](https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/intro-to-tweet-json) [Post Statuses Update](https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update) [API Reference Index](https://developer.twitter.com/en/docs/api-reference-index)

Visibility Example

To make a Twitter account more visible:

1. Navigate to settings and search for **visibility**.

2. Set visibility to **enabled**.

3. Save the settings.

This will ensure the Twitter account has peak visibility.
