Grab profile picture from LinkedIn to my web site [duplicate]
Asked Answered
H

1

-1

I want to create a website for my company. I want to use my team mates profile pictures in About us page on my website, what will be the best way to get their profile pictures? Any suggestions?

Thank you

Headon answered 27/4, 2015 at 2:26 Comment(4)
This question is similar to the following question : #8784722Overspend
@Overspend I looked into it, but I was unable to comprehend it : /Headon
Tried to improved OP's question, but its better if he/she add something more..Polyzoan
This question will likely be closed for lack of effort on the part of the asker.Spikes
C
2

take look at this. Linked-In Api

http://api.linkedin.com/v1/people/{user-id}/picture-url

Update (2024/06/19)

GET https://api.linkedin.com/v2/me?projection=(id,profilePicture(displayImage~digitalmediaAsset:playableStreams))

sample output

{
   "profilePicture":{
      "displayImage":"urn:li:digitalmediaAsset:C4D03AQGsitRwG8U8ZQ",
      "displayImage~":{
         "elements":[
            {
               "artifact":"urn:li:digitalmediaMediaArtifact:(urn:li:digitalmediaAsset:C4D03AQGsitRwG8U8ZQ,urn:li:digitalmediaMediaArtifactClass:profile-displayphoto-shrink_100_100)",
               "authorizationMethod":"PUBLIC",
               "data":{
                  "com.linkedin.digitalmedia.mediaartifact.StillImage":{
                     "storageSize":{
                        "width":100,
                        "height":100
                     },
                     "storageAspectRatio":{
                        "widthAspect":1,
                        "heightAspect":1,
                        "formatted":"1.00:1.00"
                     },
                     "mediaType":"image/jpeg",
                     "rawCodecSpec":{
                        "name":"jpeg",
                        "type":"image"
                     },
                     "displaySize":{
                        "uom":"PX",
                        "width":100,
                        "height":100
                     },
                     "displayAspectRatio":{
                        "widthAspect":1,
                        "heightAspect":1,
                        "formatted":"1.00:1.00"
                     }
                  }
               },
               "identifiers":[
                  {
                     "identifier":"https://media.licdn.com/dms/image/C4D03AQGsitRwG8U8ZQ/profile-displayphoto-shrink_100_100/0?e=1526940000&v=alpha&t=12345",
                     "file":"urn:li:digitalmediaFile:(urn:li:digitalmediaAsset:C4D03AQGsitRwG8U8ZQ,urn:li:digitalmediaMediaArtifactClass:profile-displayphoto-shrink_100_100,0)",
                     "index":0,
                     "mediaType":"image/jpeg",
                     "identifierExpiresInSeconds":1526940000
                  }
               ]
            }
         ],
         "paging":{
            "count":10,
            "start":0,
            "links":[

            ]
         }
      }
   },
   "id":"yrZCpj2ZYQ"
}
Cuneiform answered 29/4, 2015 at 4:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.