You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
after setting up your example for Twitter at first glance everything works fine with Twitter. But posting tweets ended in an exception: I/O error on POST request for "https://api.twitter.com/1.1/statuses/update.json": cannot retry due to server authentication, in streaming mode; nested exception is java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
After some research I finally found a solution. Your predefined Twitter app is not set up correctly in your samples context. A callback URL is mandatory for sending tweets. Please see https://spring.io/guides/gs/accessing-twitter/ .
Be sure to register a callback URL with Twitter (it has to be a valid URL, but it doesn’t need to be the URL of your app).
BR
Stefan
The text was updated successfully, but these errors were encountered:
Hi, can you, please, explain, which callback is missing?
I can perform successfully all GET operations and have this issue just with POST on statuses/update.json, i.e. timelineOperations().updateStatus("My new status")
Sorry, still open point with spring-social-twitter. I have implemented a workaround by extracting acquired access token received by spring-social-library and feed it to another library which makes POST without problems.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
after setting up your example for Twitter at first glance everything works fine with Twitter. But posting tweets ended in an exception:
I/O error on POST request for "https://api.twitter.com/1.1/statuses/update.json": cannot retry due to server authentication, in streaming mode; nested exception is java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
After some research I finally found a solution. Your predefined Twitter app is not set up correctly in your samples context. A callback URL is mandatory for sending tweets. Please see https://spring.io/guides/gs/accessing-twitter/ .
BR
Stefan
The text was updated successfully, but these errors were encountered: