问题
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.
来源:https://stackoverflow.com/questions/11812482/automatically-create-a-gravatar-account-through-a-third-party-site