Automatically create a gravatar account through a

2019-07-30 03:47发布

问题:

Is it possible to automatically create a gravatar account, based on the registration data that a user on my site submits? I like gravatar, but I do not want to make my users register twice

回答1:

Theoretically, you could use curl for manipulating the Gravatar site with get and post requests and parsing the result. This way you could use the data provided by the user on your site to create an account on Gravatar.

Note that is they have some kind of captcha or equivalent, this will not work directly without some kind of captcha forwarding.

Finally, I wouldn't really actually do this but I'm just saying that's it is possible.



标签: php gravatar