Announcement Announcement Module
Collapse
No announcement yet.
Want to get tweet id when updateStatus() Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Want to get tweet id when updateStatus()

    When update status by spring social twitter, is there any way to know tweet id of this tweet ?

    Twitter's status update api return tweet id
    https://dev.twitter.com/docs/api/1/post/statuses/update

    So I guess TimelineOperations.updateStatus() would return it, but this method return void actually. I want a way to get tweet id for new tweet.

    Thanks in advance !

  • #2
    That's a good suggestion! Right now the updateStatus() methods receive the response from Twitter as a String, but do nothing with it. It's a trivial change to deserialize the response into a Tweet object and return that from updateStatus() (which is even better than just returning the ID of the tweet).

    I've created https://jira.springsource.org/browse/SOCIALTW-8 to track this.

    Comment

    Working...
    X