How to fetch Linkedin user data?
I am using Linkedin API to fetch user content in RoR project. I am following this blog. Here is controller code: Basic profile (which works fine) client = get_client profile = client.profile(:fields => ["first-name", "last-name", "maiden-name", "formatted-name" ,:headline, :location, :industry, :summary, :specialties, "picture-url", "public-profile-url"]) Experience and Positions: client = get_client positions = client.profile(:fields => [:positions]).positions.all For Educations: client = get_client educations = client.profile(:fields => [:educations]).educations.all Whereas get_client def