Announcement Announcement Module
Collapse
No announcement yet.
Spring LinkedIn API company name search is case sensitive Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X