Let’s review what actually happened in the demo:
- Both Twitter usernames (handles) are checked to make sure they’re valid.
- A call to the Twitter API retrieves the first 200 tweets from your Twitter feed (excluding any retweets).
- A call to the Twitter API retrieves the first 200 tweets from the celebrity’s Twitter feed (excluding any retweets).
- Your 200 tweets are sent as a single body of text to the Watson Personality Insights (PI) API to be analyzed.
- The celebrity’s 200 tweets are sent as a single body of text to the Watson Personality Insights (PI) API to be analyzed.
- The Watson PI API runs a sorting & matching algorithm to find the most common attributes between both bodies of text.
- 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:
A Twitter account (create an account if you don’t already have one)
An IBM Bluemix account (you can create an account later in the course)
Let’s get started!
Click Up Next to start setting up the app.
Take this course for free