Skip to Content
Author's profile photo Tom Flanagan

[SAP HANA Academy] Live3: Setup Twitter

[Update: April 5th, 2016 –  The Live3 on HCP tutorial series was created using the SAP HANA Cloud Platform free developer trial landscape in January 2015. The HCP landscape has significantly evolved over the past year. Therefore one may encounter many issues while following along with the series using the most recent version of the free developer trail edition of HCP.]

In the tutorial video below the SAP HANA Academy’s Philip Mugglestone walks through how to create a Twitter application that will generate the consumer keys and access tokens required to authenticate the Twitter streaming API used in the Live3 course.

Screen Shot 2015-02-26 at 12.21.14 PM.png

(0:25 – 1:55) Overview of Twitter API Documentation

Sign into your Twitter account. If you don’t have an account visit and follow the simple steps to create your free account. Make sure to register your mobile phone so you can create the necessary application.

On your Twitter homepage click the Developers link on the right side. Expand the Developers menu on the top banner and select Documentation. Choose Streaming API on the left side and then drill down into public stream to see documentation about the API we will be using in the Live3 course. By using the POST endpoint we will be tracking a specific set of keywords whenever we make a call.

(1:55 – 3:50) How to Create a Twitter Application

At the bottom of the Developers page click on the Manage Your Apps link in the TOOLS column. Click on the Create New App button. The App we will create will be used to authenticate the Twitter API.

Personalize the name of your app as it must be specific across all of Twitter. Add a description and website as well. Philip chooses the SAP HANA Academy YouTube page for his website. We don’t need a Callback URL but we do need to agree to the Developer Agreement. Finally hit the Create your Twitter application button.

(3:50 – 5:20) How to Create the Access Tokens

Open the Keys and Access Tokens tab. Scroll to the bottom and click the Create my Access token button. Now we have a Access Token and Access Token Secret in addition to our Consumer Key and Consumer Secret.

Click the Test OAuth button at the top to view all of the keys we will need for authentication. Philip suggests copying these four keys and pasting them into a file.

Screen Shot 2015-02-26 at 12.49.51 PM.png

Follow along with the Live3 course here.

SAP HANA Academy over 900 free tutorial videos on using SAP HANA and SAP HANA Cloud Platform.

Follow @saphanaacademy

Assigned Tags

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