Sam Garforth
Sam Garforth

Reputation: 25

Bluemix Personality Insights code 500

Ive installed the sample directly into bluemix/devops services using the automatic install button with no changes. I click on "Analyze my Twitter Personality" and it takes me to this url http://personality-insights-nodejs-sgarforthjazz-1321.mybluemix.net/auth/twitter? which displays this output {"code":500,"error":{}}

Upvotes: 1

Views: 142

Answers (1)

Ary Batista
Ary Batista

Reputation: 131

To use the "Analyze my Twitter Personality" feature you will need to setup twitter application credentials in the credentials.json file, at the root of the project.

For this, you need to create a new Twitter Application here and copy both Consumer Key (API Key) and Consumer Secret (API Secret) into the credentials.json file, into twitter.application.consumer_key and twitter.application.consumer_secret fields respectively.

You can read more about this in demo's README.md

Upvotes: 2

Related Questions