Work with Campaign and Twitter

The Managing social networks (Social Marketing) module lets you interact with your customers via Twitter. Use this capability to:

  • Post messages and send DMs - Use Adobe Campaign Social Marketing to post messages on Twitter. You can also send direct messages to all your followers.

  • Collect new contacts - Adobe Campaign Social Marketing also makes it easy to acquire new contacts: contact users and ask them if they want to share their profile information. If they accept, Adobe Campaign automatically recovers the data, which enables you to carry out targeting campaigns and, when possible, to implement cross-channel strategies.

As a Managed Cloud Services user, contact Adobe to connect Campaign with Twitter. The Managing social networks (Social Marketing) add-on must be installed on your environment, through the dedicated package, and the Twitter External Account must be configured.

To configure Adobe Campaign to post tweets to your Twitter accounts, delegate write access to Adobe Campaign for these accounts. To do this, you must:

  1. Create a Twitter account and sign up for a developer account. Learn more
  2. (optional) Create a test Twitter account for sending proofs. Learn more
  3. Create a Twitter application (one app per Twitter account). Learn more
  4. Create a new service for Twitter (one service per Twitter account). Learn more
  5. Synchronize your Twitter account with Campaign. Learn more

Twitter developer account

To start with this integration, you must sign up for a Twitter developer account.

Campaign uses the 1.1 version of the Twitter API. To use it, you need to apply for Elevated access via the Developer Portal. Learn more about Twitter Elevated Access in this page.

Create an application on Twitter

Once you have been approved with Elevated access, create a Twitter application to enable Adobe Campaign to post tweets to your Twitter account. To do this, follow the steps below:

  1. Log on to your Twitter account.

  2. Connect to Twitter developer portal.

  3. Select Create an App.

  4. Let Twitter assistant guide you through the process.

  5. To allow Adobe Campaign to post tweets to your account, edit to the App permissions from the User authentication set up section of your app. Select Read, Write, and Direct Messages.

  6. In the Type of app section, select Web App, Automated App or Bot. You can leave the Callback URL field empty, and save your configuration.

  7. Back to your app dashboard, select your app and browse to the Keys and tokens tab. Under Access Token and Secret, if the Read, Write, and Direct Messages permission is not mentioned, you must regenerate your app’s token and secret. Note that all the keys and tokens must be saved upon creation. You will need them to configure your Campaign Twitter service.

NOTE

You need one application per Twitter account. As a consequence, you must create another test application to send proofs to your test account.

Create a Twitter service in Campaign

To link your Campaign instance with your Twitter account, create a Twitter service and delegate write access to Campaign.

CAUTION

Create one Twitter service per Twitter account. As a consequence, you must create another test service to send proofs to your test account.

Each Twitter service must also be created by Adobe on your MID instance. Contact your Adobe representative to have your environment configured.

To enter settings, you must access both to your Adobe Campaign console and an your Twitter app permissions.

  1. In Adobe Campaign, browse to the Profiles and targets tab, and select the Services and Subscriptions link

  2. Create a new service.

  3. Select the Twitter type.

  4. Enter the label and internal name of the service.

    CAUTION

    The Internal name of the service must be the exact same name of your Twitter account.

  5. By default, followers are saved in the Visitors folder. You can select another location from the Visitor folder field. Learn more

    NOTE

    The Synchronize subscriptions option is enabled by default: this option recovers automatically the list of your Twitter followers so that you can send them direct messages. Synchronization is performed by a dedicated technical workflow.

  6. From your Twitter app, copy the content of the API Key and [API Key Secret] fields and paste them into the Consumer key and Consumer secret fields of your Campaign Twitter service.

  7. From your Twitter app, copy the content of the Access Token and Access Token Secret fields and paste them into the Access token and Access token secret fields of your Campaign Twitter service.

  8. In Campaign client console, click Save. You have now delegated write access to Adobe Campaign.

To check your settings, you can:

  • Edit the Twitter service which you have just created.
  • Browse the Twitter page tab: your Twitter account should be displayed.

Synchronize your Twitter account

Synchronization between Campaign and Twitter is managed through dedicated technical workflows. These workflows are stored in the Administration > Production > Technical workflows > Managing social networks folder.

They are stopped by default: you must start them manualy when you start using the Social Marketing module.

The Synchronization of Twitter accounts technical workflow synchronizes Twitter accounts in Adobe Campaign. This workflow recovers the list of Twitter followers so that you can send them direct messages. Learn more

By default, this workflow is triggered every Thursday at 7:30AM. You can use the Execute pending task(s) now option to start the workflow at any time as you are implementing this integration. You can also edit the scheduler to change the workflow triggering frequency. Learn more in Campaign Classic v7 documentation.

CAUTION

To recover the list of Twitter subscribers, the Twitter account synchronization option must be checked for the service linked to the account. Learn more

The followers are stored in a specific table: the visitors table. To display the list of Twitter followers, browse to the Profiles and Targets > Visitors.

For each follower, Adobe Campaign stores the following information:

  • Origin: Twitter
  • External ID: user identifier
  • Username: account name of the user
  • Full name: name of the user
  • Number of friends: number of followers
  • Checked: this field indicates whether the user has a verified Twitter account

Once this configuration is done, you can post tweets to your Twitter accounts and send direct messages to your followers. Learn more

Create a test account on Twitter

In addition to Twitter account, create a private Twitter account which can be used for sending tweet proofs. To do this, follow the steps below:

  1. Create a new Twitter account.
  2. Access the account Settings.
  3. Browse to Privacy & Safety and Audience and Tagging and check the Protect your Tweets option. Your Tweets and other account information are only visible to people who follow you.

Configure your Twitter app and Campaign service to work with this test account, as described above.

On this page