yahoo oauth 身份验证电子邮件范围
yahoo oauth authentication email scope
我想在 yahoo 和我的应用程序之间实现集成(通过 HWIOAuthBundle)一切顺利,但在 yahoo 响应中我找不到电子邮件地址!!对于我的用户注册,我确实需要电子邮件地址。
谁能帮我说说哪个范围给了你用户的电子邮件地址?
我读了 https://developer.yahoo.com/social/rest_api_guide/extended-profile-resource.html 没有找到答案。
我可以选择这些:
- 联系人
- 梦幻体育
- 雅虎双子座广告
- 信使
- 个人资料(社交目录)
- 关系(社交目录)
谢谢。
==============================
示例响应:
{ ["paths":受保护]=>
数组(7) { ["identifier"]=> 字符串(12) "profile.guid" ["nickname"]=> 字符串(16) "profile.nickname" ["firstname"]=> NULL ["lastname"]=> NULL ["realname"]=> string(17) "profile.givenName" ["email"]=> NULL ["profilepicture"]=> NULL }
["response":受保护]=>
数组(1){ ["profile"]=> 数组(22){ ["guid"]=> 字符串(26)“...” ["ageCategory"]=> 字符串(1) "A" ["created"]=> 字符串(20) "2016-06-06T13:33:40Z" ["image"]=> 数组(4) { ["height"] => int(192) ["imageUrl"]=> string(56) "https://s.yimg.com/dh/ap/social/profile/profile_b192.png" ["size"]=> string(7) "192x192" ["width"]= > 整数(192)}
["intl"]=> 字符串(2) "us" ["jurisdiction"]=> 字符串(2) "us" ["lang"]=> 字符串(5) "en-US" ["memberSince"]=> string(20) "2016-06-06T09:41:48Z" ["migrationSource"]=> int(1) ["nickname"]=>字符串(6) "Raasco" ["notStored"]=> 布尔(真) ["nux"]=> 字符串(1) "3" ["profileMode"]=> 字符串(6 ) "PUBLIC" ["profileStatus"]=> 字符串(6) "ACTIVE" ["profileUrl"]=> 字符串(51) "http://profile.yahoo.com/..." ["updated"]=> string(20) "2016-06-06T13:33:40Z" ["isConnected"]=> bool(false) ["profileHidden"]=> bool(false) ["bdRestricted"]=> bool(true) ["profilePermission"]=> string(7) "PRIVATE" ["uri"]=> string(71) "https://social.yahooapis.com/v1/user/.../profile" ["cache" ]=> 布尔值(真)} }
答案是 Contacts
和 Profiles(soacil directory)
API 获取用户电子邮件地址所需的权限。
注意雅虎会给你所有用户的电子邮件,带有标签。那么你可以获取 primary
一个。
我想在 yahoo 和我的应用程序之间实现集成(通过 HWIOAuthBundle)一切顺利,但在 yahoo 响应中我找不到电子邮件地址!!对于我的用户注册,我确实需要电子邮件地址。
谁能帮我说说哪个范围给了你用户的电子邮件地址? 我读了 https://developer.yahoo.com/social/rest_api_guide/extended-profile-resource.html 没有找到答案。
我可以选择这些:
- 联系人
- 梦幻体育
- 雅虎双子座广告
- 信使
- 个人资料(社交目录)
- 关系(社交目录)
谢谢。
==============================
示例响应:
{ ["paths":受保护]=> 数组(7) { ["identifier"]=> 字符串(12) "profile.guid" ["nickname"]=> 字符串(16) "profile.nickname" ["firstname"]=> NULL ["lastname"]=> NULL ["realname"]=> string(17) "profile.givenName" ["email"]=> NULL ["profilepicture"]=> NULL }
["response":受保护]=> 数组(1){ ["profile"]=> 数组(22){ ["guid"]=> 字符串(26)“...” ["ageCategory"]=> 字符串(1) "A" ["created"]=> 字符串(20) "2016-06-06T13:33:40Z" ["image"]=> 数组(4) { ["height"] => int(192) ["imageUrl"]=> string(56) "https://s.yimg.com/dh/ap/social/profile/profile_b192.png" ["size"]=> string(7) "192x192" ["width"]= > 整数(192)} ["intl"]=> 字符串(2) "us" ["jurisdiction"]=> 字符串(2) "us" ["lang"]=> 字符串(5) "en-US" ["memberSince"]=> string(20) "2016-06-06T09:41:48Z" ["migrationSource"]=> int(1) ["nickname"]=>字符串(6) "Raasco" ["notStored"]=> 布尔(真) ["nux"]=> 字符串(1) "3" ["profileMode"]=> 字符串(6 ) "PUBLIC" ["profileStatus"]=> 字符串(6) "ACTIVE" ["profileUrl"]=> 字符串(51) "http://profile.yahoo.com/..." ["updated"]=> string(20) "2016-06-06T13:33:40Z" ["isConnected"]=> bool(false) ["profileHidden"]=> bool(false) ["bdRestricted"]=> bool(true) ["profilePermission"]=> string(7) "PRIVATE" ["uri"]=> string(71) "https://social.yahooapis.com/v1/user/.../profile" ["cache" ]=> 布尔值(真)} }
答案是 Contacts
和 Profiles(soacil directory)
API 获取用户电子邮件地址所需的权限。
注意雅虎会给你所有用户的电子邮件,带有标签。那么你可以获取 primary
一个。