Results 1 to 2 of 2

Thread: Spring LinkedIn API company name search is case sensitive

  1. #1

    Default Spring LinkedIn API company name search is case sensitive

    Hi Everyone,
    CompanyOperations.getCompanyByUniversalName is case sensitive in search.
    e.g., amazon and Amazon is different...

    Whereas i saw a note in LinkedIn API saying all searches are case insensitive unless specified...

    So how can we make insensitive search by using CompanyOperations?

  2. #2
    Join Date
    Jul 2010
    Location
    Dublin, Ireland
    Posts
    17

    Default

    Quote Originally Posted by technokraft123 View Post
    Hi Everyone,
    CompanyOperations.getCompanyByUniversalName is case sensitive in search.
    e.g., amazon and Amazon is different...

    Whereas i saw a note in LinkedIn API saying all searches are case insensitive unless specified...

    So how can we make insensitive search by using CompanyOperations?
    Hi,

    CompanyOperations.getCompanyByUniversalName() simply passes the name provided onto the linked in JSON API URL:

    http://api.linkedin.com/v1/companies...al-name=amazon

    So there is not way to change this. The behavior is on the linkedIn side.
    My understanding of the linkedIn API is that the universal-name is like a string unique id rather than a free text name as such.

    CompanyOperations.search() my be better suited to your needs.
    It calls out to JSON API
    https://api.linkedin.com/v1/company-...eywords=amazon

Posting Permissions

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