1

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":{}}

ralphearle
  • 1,696
  • 13
  • 18

1 Answers1

2

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

  • 1
    Hi Ary, I've done this already but I was unable to get it working. Do I need to put in my access token and secret somewhere as well? – socialpiranha Jul 19 '16 at 01:52
  • Hi, sorry for the late answer. Yes, you will need to add your Personality Insights service's username and password on `credentials.json`. – Ary Pablo Batista Dec 07 '16 at 03:25