Announcement Announcement Module
No announcement yet.
I can't find the "retweet_count" property Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • I can't find the "retweet_count" property

    Hi everybody. I hope someone can help me.

    In the twitter REST API , when I obtain the json object from, the tweet object contains a "retweet_count" property with the number of retweets.

    My cuestion is

    anyone knows where can i find the "retweet_count" property using spring social twitter?

    Sorry my bad english and thanks in advance.

  • #2
    Spring Social doesn't capture the retweet count, but that'd be a good improvement to make. Open a new improvement issue at and I'll look into it.


    • #3
      Thanks for the fast response

      Thanks for the fast response, I have created the issue


      • #4
        In case you haven't noticed, I have added a retweetCount property to the Tweet object (with a getRetweetCount() method).

        Note that the retweet_count property is only returned from Twitter for status objects received from their main REST API (primarily timeline operations) and is not available in search results. Therefore, getRetweetCount() returns an Integer object and will be null if the response from Twitter did not have a retweet_count property.