Defining social network settings for Twitter | HCL Digital Experience
Complete these configuration parameters to set up a social network connection for Twitter.
Before you begin
- Go to https://dev.twitter.com
- Log in and click Create an app.
- Click Add New Application.
- Under Application Info enter values for
the following parameters:
- Application Name:
- This is the name of your application that is displayed at the end of each post. For example, your company name.
- Application Description:
- Enter a short description of the application.
- Website:
- This is the URL to your website. For example: http://www.ibm.com
- Callback URL:
- Set this to
http://domain/wps/wcmsocial/servlet/oAuthCB/twitter
where "domain" is your domain name.
- Read the terms and conditions and select I Agree.
- Enter the security/captcha information if required.
- Your Consumer Key and Consumer Secret is displayed. Make a record of these.
- Click the Settings tab.
- In the Application Type section, set the Access property to Read and write.
- Click the Update this Twitter application's settings.
When you have registered your application, you then create
a new Credential Vault from the HCL Portal administration
view where:
- The Consumer Key is specified as the shared user ID.
- The Consumer Secret is specified as the shared password.
About this task
Procedure
- Select Twitter as the social network.
- Define authentication settings for the social network:
- Enter a default message template. This is posted as text.
Predefined tags for the message are included as a guide. For example:
[Property field="title" context="current" type="content" format="length:100"] [URLCmpnt context="current" type="content" mode="storable"] [profilecmpnt type="content" context="current" field="keywords" separator=" #" include="exact" start="#"]
Note: Rich Text is not supported for Twitter posts, so it is not recommended to reference rich text elements in your post message.Note: If your posts are exceeding the 140 character limit for Twitter posts, you can adjust length of the title by reducing the length option in the format parameter as shown in this example. Long category names, or a large number of categories, can also lead to exceeding the 140 character limit.