Mapping the user to a Twitter account


If you have not installed BMC Helix ITSM, complete the following procedure to map a user to a Twitter account. If you have installed BMC Helix ITSM, follow the steps in the Configuring the Twitter integration image2022-12-3_22-23-22.png section.

Before you begin

  • Make sure that internet connectivity is available on the computer where you are mapping the user to a Twitter account and also on the computer where the plug-in server is running.
  • Make sure that access to the Twitter account from AR System is not blocked by any firewall.

To map the user to a Twitter account

  1. Log in to AR Systemas an administrator and open the AR System Alert Twitter User Authorization display-only form. 

    AR System Alert Twitter User Authorization form
    TwitterForm.gif
  2. In the User Name field, select the user for mapping to a Twitter account.
    AR System Alert Twitter User Authorization form fields

    Field name

    Description

    User Name

    The menu lists the users from the User form.

    If the user information is in an LDAP directory, the user name can be entered manually.

    Access Key

    This is a read-only field. The value is automatically displayed when you enter a pin number in the PIN field.

    Access Token Secret

    This is a read-only field. The value is automatically displayed when you enter a pin number in the PIN field.

    PIN

    This field is activated only if the user is not already mapped to an existing Twitter account.

  3. If the user has not been mapped to a Twitter account, the Twitter page opens:

    1. Enter the Twitter username and password.
    2. Click OK.

    Tip

    If the AR Server system clock is not synchronized with your time zone, Twitter displays the following error message:
    Error in plugin : 401:Authentication credentials ( http://dev.twitter.com/pages/auth ) were missing or incorrect. Ensure that you have set valid conumer key/secret, access token/secret, and the system clock in in sync. Failed to validate oauth signature and token Relevant d (ARERR 8753)
    Synchronize the system clock with your time zone, and click Apply.

  4. Enter the authorization PIN number displayed on the web page in the PIN field.

    The values for the Access Key and Access Token Secret fields are automatically displayed.

    If the user is already mapped to a Twitter account, the PIN field remains deactivated. No further action is required.

    With Twitter4j API, the user gets only one chance to enter the correct PIN on the first attempt. If the user enters the wrong PIN on the first attempt, that PIN expires and the user has to generate a new PIN. For more information, see http://www.mail-archive.com/twitter-development-talk@googlegroups.com/msg09097.html.

  5. Click Apply.

An entry is created in the AR System Alert User Registration form. For more information about this form, see Registering-users-for-alerts. The mapping is now complete.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*