cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you an educator? Well we want to hear from you, so check out some tools we think might help you out here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there any way of getting user's profile picture?

Is there any way of getting user's profile picture?

Andrew C.67
New member | Level 1

As far as I know there is no API for that in both v1 and upcoming v2 of Dropbox Core API. Is there any workaround? E.g. can I manually make an URL for getting a user's photo (given I have an access token)?

6 Replies 6

Re: Is there any way of getting user's profile picture?

Greg-DB
Dropboxer

Unfortunately, no, it's not currently possible to get the profile picture via the API, but I'll be sure to pass this along as a request.

Re: Is there any way of getting user's profile picture?

Steve K.45
New member | Level 1

We need this too.  Would like to push profile pictures from AD to Dropbox via Okta automatically.  Making it available in the API is the first step.

Re: Is there any way of getting user's profile picture?

Kyle N.1
New member | Level 1

I need this too. We'd very much like to make a beautiful experience for the users of the planned Ubuntu Scope for Dropbox, and showing the user their current profile photo (in addition to have an HTTP API to modify it) would be really nice.

Re: Is there any way of getting user's profile picture?

luiz fernando s
New member | Level 1

curl -X POST https://api.dropboxapi.com/2/users/get_current_account
--header 'Authorization: Bearer <TOKEN>'
--header 'Content-Type: application/json'
--data 'null'

REPLY
[....]
  "account_id": "ID-OF-USER",
[....]

https://dl-web.dropbox.com/account_photo/get/ID-OF-USER?vers=1469058358325&size=64x64

vers is the current timestamp, to grab the last photo
size, I think this is square, and I don't know the sizes, like 128x128, 32x32, etc






Re: Is there any way of getting user's profile picture?

Greg-DB
Dropboxer

Thanks for posting this Luiz! That's correct, it's now possible to get the profile picture in API v2 via profile_photo_url returned by /users/get_current_account.

Re: Is there any way of getting user's profile picture?

Greg-DB
Dropboxer

It's also now possible to set the profile picture using /2/account/set_profile_photo.

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    luiz fernando s New member | Level 1
  • User avatar
    Kyle N.1 New member | Level 1
  • User avatar
    Steve K.45 New member | Level 1
What do Dropbox user levels mean?
Need more support?