Skip to Content
Author's profile photo Former Member

Integrating HCI with Twitter – Part 1

Integrating Twitter with SAP HCI


With SAP’s march towards cloud, and entering other business areas, here comes the new social media adapters for Hana Cloud Integration: Twitter and Facebook. This blog lights up on the steps to be followed for Integration with Twitter.

Configurations needs to be done on both Twitter and HCI for successful Integration.

Twitter Configuration:

The configuration in twitter involves generation of tokens and secret keys to enable authentication to the twitter application. We need to follow an app-based approach to get the required keys. The steps are as follows.

Log into www.dev.twitter.com using the twitter credentials.Scroll down to the bottom and select “Manage Your Apps” under TOOLS category.

/wp-content/uploads/2016/03/twitter_app_898851.jpg

On the next screen select “Create a new app”.

Create_app.png

Filled the Website parameter, just because it was mandatory, and since it is a demo app.



Select “Create Twitter Application” once you have filled the basic details. The next screen would look like this.

/wp-content/uploads/2016/03/keys_898853.png

Click “modify app permissions” to select the permission level based on the activity you want to perform.

Click on manage keys and access tokens. Note down the Consumer Key, and Consumer secret.

/wp-content/uploads/2016/03/keys2_898855.png

Scroll down to get your Access token and Access secret.

acc token.png

These are the four parameters that are essentially needed to authenticate to Twitter, and that are required to configure the Receiver Communication Channel. So the next step would be deploying these parameters in HCI as “Secured Parameters”.

Open the eclipse tool and log into your tenant. In the “Node Explorer”, right click on your tenant and select “Deploy Artifacts”. Select “Secure parameter” and create alias for each of the 4 tokens we generated in Twitter.

/wp-content/uploads/2016/03/deploy_param_898856.png

Once the parameters are deployed, we can start developing the iFlow for the same.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.