spring-attic / spring-social-twitter

Twitter API binding and connect support.
http://projects.spring.io/spring-social-twitter
Apache License 2.0
122 stars 114 forks source link

Adding support for Twitter collection operations #119

Open laszlocsontos opened 6 years ago

laszlocsontos commented 6 years ago

I'm developing an application with spring-social-twitter and noticed that there were no API binding for Twitter's collection API.

A collection is an editable group of Tweets hand-selected by a Twitter user or programmatically managed via collection APIs. Each collection is public and has its own page on twitter.com, making it easy to share and embed in your website and apps.

I looked into every descendant of AbstractTwitterOperations, but haven't found anything which would make HTTP requests to the /collections endpoints.

That said, my proposal is that I would add CollectionOperations to org.springframework.social.twitter.api.Twitter and the necessary model classes, (de)serializers and unit tests for this new functionality.

What do you think about this proposition?


Jira: SOCIALTW-87 Reference: Curate a collection of Tweets