Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8937739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:28:06+00:00 2026-06-15T10:28:06+00:00

I am using the Rails LinkedIn API gem. https://github.com/pengwynn/linkedin/issues/141 I am trying to search

  • 0

I am using the Rails LinkedIn API gem. https://github.com/pengwynn/linkedin/issues/141

I am trying to search linked in users by first and last name and so far I’ve come up with this:

@profiles = linkedin_client.search(:first_name => fname, :last_name => lname, :sort => "connections", :fields => %w(id first-name last-name headline industry location api-standard-profile-request picture_url public_profile_url summary));

One question I have is, will “:first_name” work as the parameter “first-name”? What I mean is will the underscore be a good substitute for the dash “-“?

I’m hoping these results would be organized by connection, as I’ve tried to do above with :sort => "connections"

The problem is that it will not return any results, even when I know the user’s name exists. Thanks for the help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T10:28:07+00:00Added an answer on June 15, 2026 at 10:28 am

    Use :first_name only as the parameter.

    first-name will not work !

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the omniauth-linkedin gem for my rails application: https://github.com/skorks/omniauth-linkedin It should be taking
I am using the linkedin gem https://github.com/pengwynn/linkedin I authorize using Omniauth and store the
I am using 'linkedin', :git => git://github.com/pengwynn/linkedin.git gem to connect with linkedin. once i
I using rails 3.0.9. My Gemfile: gem 'ajaxful_rating', :git => 'git://github.com/edgarjs/ajaxful-rating.git', :branch => rails3
Using: Rails 3.1.1 I am trying to create a search engine in my application
Using Rails 3.2 and ruby 1.9.3p0 I am trying out the gem delayed_job. I
Hi i am using linkedin gem to connect with linkedin from rails. this what
Using Rails 3. In my project directory am trying to launch rails script/console by
I am trying to set up an authentication using using omniauth via linkedin. I
Using Rails 3.1.3 with Devise 1.5.3. My app has accounts and users. Each account

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.