msgraph-sdk-ruby icon indicating copy to clipboard operation
msgraph-sdk-ruby copied to clipboard

Downloading profile photos

Open basicsandwich opened this issue 7 years ago • 1 comments

Per the Get Profile Photo docs, it appears that getting photo meta data is supported by the SDK:

e.g. graph.me.photo => GET /me/photo

But that getting the actual image is not supported. GET /me/photo/$value. Am I missing something, or is this a known issue?. Thanks!

basicsandwich avatar Oct 16 '17 18:10 basicsandwich

I believe this is a known issue. You may have to fall back to REST in order to get ~/photo/$ref.

dpim avatar Nov 06 '17 21:11 dpim

Thanks for reporting this issue. That version of the SDK has been deprecated a number of years ago. We're now starting the work on a new generation of this SDK and you can learn all about it on the updated readme page.

baywet avatar Jan 10 '23 19:01 baywet