Results 1 to 4 of 4

Thread: [twitter] is it possible to search for tweets in specific language?

Hybrid View

  1. #1
    Join Date
    May 2005
    Location
    BEEK, The Netherlands
    Posts
    230

    Default [twitter] is it possible to search for tweets in specific language?

    The twitter search api provides an optional 'lang' to search for tweets in the given ISO 639-1 language code.
    The spring social twitter api only provides a search(String(java.lang.String query) method so I'm wondering if there is another way to provide the lang code, or is this not supported?

  2. #2
    Join Date
    Aug 2004
    Posts
    1,069

    Default

    This sounds like a good enhancement to the Spring Social Twitter's SearchOperations interface. Could you create an improvement issue in JIRA (at https://jira.springsource.org/browse/SOCIALTW) to track this?

    In the meantime, you can always do this by using the RestOperations returned from Twitter.restOperations(). You'd have to work with it at a lower-level, but it can still be done.
    Craig Walls
    Spring Social Project Lead

  3. #3
    Join Date
    May 2005
    Location
    BEEK, The Netherlands
    Posts
    230

  4. #4
    Join Date
    Aug 2004
    Posts
    1,069

    Default

    Thanks! I'll definitely take a look at it.
    Craig Walls
    Spring Social Project Lead

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •