How to Fetch Linkedin user feeds in Rails 4

11 views
Skip to first unread message

jawahar

unread,
Feb 1, 2017, 2:36:42 AM2/1/17
to rubyonra...@googlegroups.com

Hi,

i am working on rails 4 application,i am trying to integrate linked-in in my application.i am followed below link steps,but i can't fetch user feeds(updates & shares),i can fetch only user profile informations.how can i get all informations.please help me

Reference :  https://github.com/emorikawa/linkedin-oauth2

this is my scope in omniauth.rb

OmniAuth.config.logger = Rails.logger
Rails.application.config.middleware.use OmniAuth::Builder do
    provider :linkedin, SOCIAL_CONFIG['linkedin_client_id'], SOCIAL_CONFIG['linkedin_client_secret'],  scope: ['r_fullprofile', 'r_emailaddress','r_network','w_share'], fields: ['id', 'first-name', 'last-name', 'location', 'picture-url', 'public-profile-url']
end

Reply all
Reply to author
Forward
0 new messages