Why do i get a null connection to twitter with Spring Boot / Spring Social guide example?
问题 I followed the instructions on the spring.io site: http://spring.io/guides/gs/accessing-twitter/ And I'm not getting a connection. The "findPrimaryConnection()" call is returning null. I'm not seeing any exceptions thrown. I did set the appId and appSecret in the .properties file. Here is the controller code: @Controller @RequestMapping("/") public class HelloController { private Twitter twitter; private ConnectionRepository connectionRepository; @Inject public HelloController(Twitter twitter