2

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.

enter image description here

What could be the problem

Mahtab Alam
  • 607
  • 2
  • 9
  • 22

2 Answers2

0

Try setting a callback URL in your twitterapp settings.

0

Go to you application in twitter. Go to Settings tab and set the callback url.

Callback URL http://127.0.0.1:8080

PS: You will have to change this url again to http://www.yourappurl.com when you move it to production.

Sanjay Rawat
  • 2,304
  • 15
  • 30