Wiki source code of 06e. Twitter Configuration

Last modified by Tom Jardine on 06/11/2025, 14:23

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 Through Twitter integration, key information from the social media site can be Indexed for further analysis.
6
7 To utilise the built-in Twitter API, there are a number of configuration steps:
8
9 = Creating the Consumer Key =
10
11 The Consumer Key is required to access and extract the data held by Twitter.
12
13 Navigate to the [[System Settings>>doc:Technical Documentation.CXAIR.Administration Guide.Status Monitoring.System Settings.WebHome]] screen by clicking **Setup**, **System** then **Settings**. Click the [[Third-Party Settings>>doc:Technical Documentation.CXAIR.Administration Guide.Status Monitoring.System Settings.WebHome||anchor="Third-Party"]] tab to access the **Twitter Consumer Key** and **Twitter Consumer Key Secret** options.
14
15 Navigate to the [[Twitter Application Management>>https://apps.twitter.com/]] page and log in use the relevant Twitter credentials to generate the required keys. Once the application has been created, ensure that it is setup with **Read and Write** permissions in the relevant Twitter **Settings** tab.
16
17 Enter the generated keys into the **Twitter Consumer Key** and **Twitter Consumer Key Secret** textboxes.
18
19 = Creating the Twitter User =
20
21 Now the Twitter API has the required keys, a [[CXAIR>>doc:Technical Documentation.CXAIR.WebHome]] user must be created that will be used to perform the Indexing tasks.
22
23 Navigate to the Twitter Accounts screen by clicking **Setup**, **Security** then **Twitter**.
24
25 Click **New** to configure a new user. Use the **Account Type** radio buttons to specify the type of user that is created. If no Twitter accounts have been configured yet, only the **Both** option is available. A **Pool Account** is used to perform Index builds, and a **User Account** are used to update Twitter directly, such as creating followers, for example.
26
27 Once an **Account Type** has been specified, click **Authorise on Twitter** to open a new tab in the internet browser. Enter the Twitter account login credentials to authorise the account.
28
29
30
31 Now the configuration is complete, please refer to the [[Twitter options>>doc:Technical Documentation.CXAIR.Administration Guide.4\. Manual Index Creation.a\. Creating a Data Source.WebHome||anchor="TwitterDS"]] in the [[Creating a Data Source>>doc:Technical Documentation.CXAIR.Administration Guide.4\. Manual Index Creation.a\. Creating a Data Source.WebHome]] Chapter to setup the required Indexes.