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

Twitter has new set of REST URLs #164

Open
Syed-SnapLogic opened this issue Apr 14, 2020 · 0 comments
Open

Twitter has new set of REST URLs #164

Syed-SnapLogic opened this issue Apr 14, 2020 · 0 comments

Comments

@Syed-SnapLogic
Copy link

Guys,
Twitter has a new set of URLs. Also, the REST API (headers, body, etc) might have changed.
For example, for posting direct message, this is the REST call to be made. https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/new-event

And unfortunately, even the latest code of spring-social-twitter continues to use the old URLs atleast for posting a direct message. https://github.com/spring-projects/spring-social-twitter/blob/master/spring-social-twitter/src/main/java/org/springframework/social/twitter/api/impl/DirectMessageTemplate.java#L85. The URL eventually used by this SDK is "https://api.twitter.com/1.1/direct_messages/new.json" when it had to be "https://api.twitter.com/1.1/direct_messages/events/new.json".

Are you guys planning to update your SDK to be in sync with latest twitter REST API?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant