I am trying this example from Spring IO Guides
which explains how to retrieve list of friends from twitter.
But when I click on Connect to twitter it does not connect to twitter.
I have my appId and secretId in properties file and it is in the classpath and I have read,write access to the app that I created on twitter.
What could be the problem