开发者

openID extracting info other than email

I was considering using openID for a site I am thinking o开发者_如何学Cf building but it does not look like I can get any information extracted out other than the email. I would like to extract other information such as first, last name, address, etc when available. Are they other alternatives that would allow me to get this type of info from accounts such as gmail and facebook?


Assuming the end-user allows you access to such data, you can absolutely request more data through OpenID. It's called Attribute Exchange: you can see the spec here or search Google for the implementation info you need.


For GMail, look at the GData API.
For Facebook, look at the Facebook Graph API

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜