Questions tagged [spring-social-twitter]

Spring Social Twitter is a module within the Spring Social family of projects that enables you to connect your Spring application with the Twitter REST API.

Spring Social Twitter is a module within the Spring Social family of projects that enables you to connect your Spring application with the Twitter REST API.

Features:

  • A service provider and connection factory for use with Spring Social's connection framework.
  • An API binding for Twitter's REST API.
  • Much more...

More Information:

Getting Started Guides:

Related Tags:

67 questions
12
votes
3 answers

Callback URL not approved by Twitter

My application built upon spring-social-twitter that enables users to sign in with Twitter has stopped working recently. I've got an error message as below: Callback URL not approved for this client application. Approved callback URLs can be…
Yuci
  • 27,235
  • 10
  • 114
  • 113
7
votes
2 answers

Spring Social Twitter Oauth

I want to use spring social to develop an twitter app which will update status and upload photos.I am not able to understand how to do Oauth authentication using Spring social.All examples I saw talks about hardcoding the accesstoken which would…
4
votes
3 answers

Twitter API GET user_timeline reply/comment count

Is there any way to get the comment/reply count for a tweet using GET statuses/user_timeline in addition to favorite_count and retweet_count which are already returned? Thanks!
4
votes
1 answer

How to get location based tweets using Spring social with Twitter Streaming API?

I need to live feed the tweets based on geolocation. By Twitter API documentation I understand we can search based on geolocaion. But is it possible to stream based on geolocaion? and i use spring social twitter for API integration. …
4
votes
1 answer

How to use Spring Social Twitter in a desktop application?

I'm currently experimenting with Spring Social Twitter and wonder how I could use it for a desktop application because you cannot provide a callback url. Is there any possibility to use username and password for the authorization or a way to…
Patrick Gotthard
  • 1,101
  • 1
  • 8
  • 10
3
votes
1 answer

Twitter template fails during sending direct message, but get rate limit request works

Why direct message is not sent? spring-social-twitter:1.1.2.RELEASE does not work with spring-web:5.0.6.RELEASE Example of main class: package com.test; import org.springframework.social.twitter.api.ResourceFamily; import…
3
votes
1 answer

Twitter Sign in using Spring Boot

I am trying to sign in to my web application (developed using Spring Boot) using social logins. The logins for Google & facebook are okay. But the for some reason there is a token issue in the twitter login. I have created the project in the twitter…
3
votes
1 answer

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…
vt97john
  • 579
  • 3
  • 10
  • 25
2
votes
0 answers

Spring Social Twitter and SSLException

I have some problem with Spring Social Twitter and eventually more things, but i dont know how recognize where the problem is. I have an simple app with RestControllers. On front user can click "Update" and with ajax i get request to do some…
2
votes
0 answers

direct messaging using spring-social-twitter 1.1.2

I am working on a legacy application that posts Direct Messages to Twitter Users from our product. The API that was used is DirectMessageTemplate.sendDirectMessage(String toScreenName, String text) in spring-social-twitter 1.1.2. The call is now…
Ravi
  • 21
  • 3
2
votes
0 answers

@Inject Twitter bean an connectionRepository issue

I'm developing an application which will get data from Twitter. First I created an application.properties that contains the consumer ID and secret. Second I created a controller and injected Twitter and ConnectionRepository. I did everything as…
2
votes
2 answers

Connecting to twitter using spring social twitter

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…
2
votes
1 answer

Live twitter stream using spring social

I am working on a project where I have to gather users' live stream from social networks (Twitter, Facebook etc.). I want to use Twitter Users Streams Api to get live tweet updates from registered users, analyze these updates and then store the…
Olayinka
  • 2,813
  • 2
  • 25
  • 43
2
votes
2 answers

How to get more than 20 friends in Spring Social Twitter?

I am using Spring Social Twitter to retrieve a friend's name of a user. Here is my code. @Controller @RequestMapping("/") public class HelloController { private Twitter twitter; private ConnectionRepository connectionRepository; …
1
vote
0 answers

Twitter API - Spring authentication error

REST I also tried with the postman but it gives the same error @RestController @RequestMapping() public class REST { @GetMapping("/tweet") public void noticiaPost(){ String consumerKey = "AVlNWQzs3FYQ2DHsdDWY***"; …
DavVR
  • 9
  • 2
1
2 3 4 5