Code Editor
Learn
A Watson-Powered Application

The Application Flow

Let's review what actually happened in the demo:

  1. Both Twitter usernames (handles) are checked to make sure they're valid.
  2. A call to the Twitter API retrieves the first 200 tweets from your Twitter feed (excluding any retweets).
  3. A call to the Twitter API retrieves the first 200 tweets from the celebrity's Twitter feed (excluding any retweets).
  4. Your 200 tweets are sent as a single body of text to the Watson Personality Insights (PI) API to be analyzed.
  5. The celebrity's 200 tweets are sent as a single body of text to the Watson Personality Insights (PI) API to be analyzed.
  6. The Watson PI API runs a sorting & matching algorithm to find the most common attributes between both bodies of text.
  7. The application prints the results to the user.

In this course, we'll build the Celebrity Match application from the ground up, beginning by installing the necessary Python packages, setting up Bluemix and Watson, and using the Twitter API and the PI API to display the results.

You'll need the following to build the application:

  1. A Twitter account (create an account if you don't already have one)

  2. An IBM Bluemix account (you can create an account later in the course)

Let's get started!

Instructions

Click Up Next to start setting up the app.

Report a Bug
If you see a bug or any other issue with this page, please report it here.