Automatically create a gravatar account through a third party site

天大地大妈咪最大 提交于 2019-12-13 02:17:44

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!