Announcement Announcement Module
Collapse
No announcement yet.
[Twitter] wrap_links flag of status/update Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Twitter] wrap_links flag of status/update

    I want to turn on wrap_links flag when using TimelineOperations.updateStatus() method.

    wrap_links option of status/update twitter api method
    -> https://dev.twitter.com/docs/api/1/post/statuses/update

    When wrap_links option is on, a link in status is wrapped (-> http://t.co/xxxxxxx), and THEN length of status is counted (within 140 or not). So, when wrap_links is on, a status IS accepted when a raw status has over 140 characters but is to be shrinked to under 140 characters after link-wrapping.

    But the status above is not accepted by using spring-social, because wrap_links is OFF in default twitter api settings, and there is no way to turn this flag on in spring-social.

    The following modification may resolve this problem.
    * Add a wrap_links parameter to org.springframework.social.twitter.api.StatusDetai ls

    Thanks in advance !

  • #2
    Good suggestion. I've created https://jira.springsource.org/browse/SOCIALTW-11 to track this.

    Comment

    Working...
    X