tags:

views:

149

answers:

2

Hi,

How do I add a link that would let user change their Gravatar on my site? (The same way you can change your Gravatar on Wordpress)

Thanks, Kenneth

+1  A: 

If you provide a link to http://en.gravatar.com/emails/ it will take them to the Gravatar site where they can log in and make changes to their account. I'm not sure if any other public API that would allow this change.

kdmurray
I was looking for a way where the user won't have to login again. Thanks for the answer anyway. :)
ksuralta
A: 

Automattic's Gravatar API doesn't offer this functionality. Your best bet is to link the user to the Gravatar website.

If you really wanted you could do some experimenting with CSRF, I haven't tested to see whether the Gravatar site protects against this exploitation. Best case scenario, it would be spotty - I can't imagine anyone stays logged into the Gravatar account at all times like they would their Twitter account.

Finally, you could load the Gravatar site in an iFrame, so the user doesn't really leave your domain.

Michael Wales