Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

401 from Twitter after sending a status with a valid configuration #125

@fabianpiau

Description

@fabianpiau

Hello,

I cannot send a status on twitter since April 22nd. It was working fine before for many months. I did not change the config related to Twitter on my app or on Twitter side. I've tried changing the settings on my app, regenerated the keys, created a new app, but it did not work.

Twitter always respond with:

ERROR: 401 :: Could not authenticate you.

Note I was able to post a status manually with Postman using the same credentials and OAuth1.
I think something has changed on the Twitter API that is not compatible with Spring Social Twitter.

Am I the only one with this issue?

Thanks,

Fabian

Technical details

I use the release: 1.1.2.RELEASE

I instantiate the bean via XML (Spring):

<bean id="twitter" class="org.springframework.social.twitter.api.impl.TwitterTemplate">
	<constructor-arg name="consumerKey" value="xxx" />
	<constructor-arg name="consumerSecret" value="xxx" />
	<constructor-arg name="accessToken" value="xxx" />
	<constructor-arg name="accessTokenSecret" value="xxx" />
</bean>

then I use:

twitter.timelineOperations().updateStatus("Hello")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions