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
1
vote
1 answer

Tweet with Spring-Social-Twitter Api inReplyToStatus doesn't work

I'm trying to send a Tweet as a response (reply) to another tweet that I found via a query. But although I'm calling…
Alexander
  • 2,925
  • 3
  • 33
  • 36
1
vote
1 answer

Upload chunked video to Twitter with spring-social-twitter / postman

I am currently trying to build an application to post videos to Twitter on behalf of a user. So I currently have the application-key, application-secret, access-token and access-secret. final TwitterTemplate twitterTemplate = new TwitterTemplate( …
Michael Michailidis
  • 1,002
  • 1
  • 8
  • 21
1
vote
2 answers

Springboot: Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings?

I created an app in twitter and trying to do basic authentication but I am getting the below error so can anyone help me with this? How to resolve the error? Callback URL not approved for this client application. Approved callback URLs can be…
1
vote
0 answers

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

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…
yogsma
  • 10,142
  • 31
  • 97
  • 154
1
vote
0 answers

spring-social: SecurityContextHolder.getContext().getAuthentication() returns null

I've been trying to integrate spring-social into our app and am having some difficulty understanding the workflow with regards to who should be setting the access token in the security context. I am using spring-social 1.1.4 libs and…
1
vote
1 answer

How to integrate Twitter Login using JWT?

I have some application that works with Spring Boot. This is just login/registration page nothing more. My JWT Filter public class JWTFilter extends GenericFilterBean { private static final String AUTHORIZATION_HEADER = "X-CustomToken"; …
1
vote
0 answers

implementing oauth2 with twitter spring social

I have a REST application developed using spring-social,spring-security (java 8). The frontend is developed in Angular2. It need to implement oauth2 with various social networks. I am able to integrate the same with linkedin, facebook and google…
1
vote
2 answers

Spring Social Twitter - Exclude retweets

Is there a way in Spring Social Twitter to search for tweets but exclude retweets? Currently I use the search method like this but I finds - of course - also retweeted tweets. twitter.searchOperations().search('stackoverflow', 100)
saw303
  • 8,051
  • 7
  • 50
  • 90
1
vote
1 answer

Spring Social Twitter - Application notified when account is mentioned

I am making a Spring Social Twitter application using Spring Boot. I have already configured a Twitter object using the consumerId, consumerKey, accessToken, and accessTokenSecret. My question is how can I use Spring Social Twitter to monitor the…
codingbash
  • 1,102
  • 1
  • 9
  • 21
1
vote
0 answers

Spring Social -ConnecController connect/twitter not initiating connection with twitter

I have been working on integrating my project with twitter api, connectController, which i have declared as bean in springsocialconfig, is perfectly handling get requests of /connect/twitter that's after including csrf token in jsp..... but when im…
1
vote
0 answers

Spring-social-twitter - How to update view data when StreamListener is invoked?

I am trying to create an application that will display all existing tweets of a particular user as well as new tweets. I am using StreamingOperations API of twitter to get the live tweets. Please see the code of my Spring Controller class…
shaunthomas999
  • 5,544
  • 2
  • 26
  • 30
1
vote
1 answer

Implementation for Implicit social signup in spring-boot project

By adding the spring-social signin / signup to my current spring-boot project, through the implementation of the classes ConnectionSignUp and SignInAdapter, the application, after the authorization with the social network website, it's requiring the…
1
vote
1 answer

Twitter raw JSON Spring social Twitter

How to get original JSON data tweet using spring social Twitter API ? There is "Tweet" class, but I didn't find any function that allows to retrieve original tweet content- returned by Twitter in JSON format.
1
vote
1 answer

Spring Social Twitter Save Data to MySQL

I'm trying to save some data from the request I made against TwitterAPI. I jknow, that i have to set the objects I want in the UpdateTweetsService Class but I have now idea how i parse them. This is what I have so far: UpdateTweetsService.java…
julien
  • 624
  • 1
  • 8
  • 17
1
vote
1 answer

Can you have multiple HttpSessionStrategy?

I would like to have a header based HttpSessionStrategy as listed below however Spring Social seems to want to store the social token on the session. When it is redirected back to the application no x-auth-header is specified so a new session is…