Forum Discussion

gragra33's avatar
gragra33
New member | Level 2
8 years ago

raw profile_photo_url url

In my app I am displaying the remote user avatar from various services. I would like to do the same with Dropbox however the URL returned for profile_photo_url using get_current_account is not a raw image but wrapped in html.

 

How do I access the raw image only?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Thanks for the report! I'm not seeing the same behavior though. When I access the returned profile_photo_url, I'm just getting a image/jpeg response back.

    Can you share a sample of what you're getting? Thanks in advance!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 42 minutes ago
350 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!