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
No comments:
Post a Comment