Skip to content

An application that gives personality details based on a given Twitter handle using IBM Watson Personality Insights.

License

Notifications You must be signed in to change notification settings

OpesanyaAdebayo/personality-insights-twitter

Repository files navigation

personality-insights-twitter

An application that gives personality details based on a given Twitter handle using IBM Watson Personality Insights.

Getting Started

  1. You need to have Node.js installed. You can download and install Node.js here

  2. You need to create a Twitter application to generate credentials to consume Twitter API. You can do so here

  3. You need to create a Personality Insights service instance on IBM Cloud to generate credentials to use the Watson Personality Insights API. There's a short tutorial here

  4. Clone this repository.

  5. Create a .env file in the root directory. The .env file will look something like the following:

  TWITTER_CONSUMER_KEY = <Twitter Consumer Key>
  TWITTER_CONSUMER_SECRET = <Twitter Consumer Secret>
  TWITTER_ACCESS_TOKEN = <Twitter Access Token>
  TWITTER_ACCESS_TOKEN_SECRET = <Twitter Access Token Secret>
  PERSONALITY_INSIGHTS_USERNAME = <Service credential>
  PERSONALITY_INSIGHTS_PASSWORD = <Service credential>
  PERSONALITY_INSIGHTS_VERSION_DATE = <Check service documentation for most recent date>
  1. Install the dependencies your application needs:
npm install
  1. Start the application locally:
node personalityInsights

About

An application that gives personality details based on a given Twitter handle using IBM Watson Personality Insights.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published