简体   繁体   中英

rails linkedin gem not able to fetch connections's email ids

Im following all these instructions to fetch my connections of linkedin in my rails app

here gist www.gist.github.com/sreeharikmarar/6364970

It gives the connections very well, but this does not give the email ids of the connection.

profile = @linkedin_client.profile(:fields=>["connections"])

How can i get the email ids of my connections.

Try this to get connections:

# view connections for the currently authenticated user
client.connections

From this Source

Note:

You cannot "browse connections." That is, you can only get the connections of the user who granted your application access. You cannot get connections of that user's connections (2nd degree connections).

Reference : LinkedIn Connections Api

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM