Can i request a MyOpenId persona's Avatar with dotNetOpenId?
-
20-08-2019 - |
Question
some of my MyOpenId persona's have avatars. Is there any way to programmatically request them with dotNetOpenId, like i can request email, etc?
I'm assuming it can't be done because i'm guessing they are not part of the standard openid schema?
Solution
There is a way for avatar's to be retrieved, using the AX extension. The specific attribute would likely be one of these, which you can look up at http://www.axschema.org/types/
However, I just tried this against myopenid.com (using their proprietary AX attribute format of http://schema.openid.net/media/image/default) and it didn't seem to work, so my guess is myopenid.com doesn't support it.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow