Consider defining a bean of type 'org.springframework.social.twitter.api.Twitter' in your configuration

439 Views Asked by At

So I am following https://spring.io/guides/gs/accessing-twitter/ to connect my application to Twitter to get some user data. But it looks like with recent changes to Spring boot (version 2.0.3.RELEASE) and Spring-social-twitter, I am not able to execute the said article successfully. I keep getting following error:

Consider defining a bean of type 'org.springframework.social.twitter.api.Twitter' in your configuration.

Has anyone tried the same sample with new Spring boot release? What am I missing?

0

There are 0 best solutions below