Forum Discussion
carles1964
Dec 19, 2019Copper Contributor
How to create an <img> tag containing MSGraph photo/$value response BLOB
I'm creating a Sharepoint Application (using Shrepoint Framework) and I'm not being able to retrieve the Pohto BLOB returned when calling MSGraph "/me/photo/$value" api. I don't know how to convert t...
Carlos_Marins
Dec 27, 2019Iron Contributor
Hi carles1964,
Hope it's not too late. I ran into this issue yesterday and no matter what I tried I couldn't get the image BLOB.
In my case, I needed to get several images, so I switched to a single batch call. Turns out the image results come as base64 when you make a batch request, so that solved my problem. You can try to make a single request in a batch and try to get the result. It is not a perfect solution, but I hope it can solve your problem. Let me know if you need any help.