Can someone give me a code example on how to grab a user's avatar based on a username being passed in?Thanks,
http://community2.metalreview.com/forums
you can use:
/api/membership.ashx/users/{Id}/avatar
for getting the avatar of the userID.
So, if I want to use this in an another web application, I should be able to just use: http://community.metalreview.com/api/membership.ashx/users/{Id}/avatar for the src of my image tag dynamically putting the user's id in that {Id} spot?If I copy/paste that URL with a valid UserID into the address bar, I get an error.Edit:This still isn't working. http://community.metalreview.com/api/membership.ashx/users/2100/avatar for a live example, isn't working.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com