Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authorize snsapi_base 下可以获取unionid #198

Closed
sayiwen opened this issue Jan 2, 2016 · 6 comments
Closed

authorize snsapi_base 下可以获取unionid #198

sayiwen opened this issue Jan 2, 2016 · 6 comments

Comments

@sayiwen
Copy link

sayiwen commented Jan 2, 2016

snsapi_base 授权之后会返回这些

{
   "access_token":"ACCESS_TOKEN",
   "expires_in":7200,
   "refresh_token":"REFRESH_TOKEN",
   "openid":"OPENID",
   "scope":"SCOPE",
   "unionid": "o6_bmasdasdsad6_2sgVt7hMZOPfL"
}

所以理论上snsapi_base 下可以获取unionid。希望加一下。

overtrue added a commit that referenced this issue Jan 2, 2016
@overtrue overtrue closed this as completed Jan 2, 2016
@zzpwestlife
Copy link

貌似并没有 unionid

@overtrue
Copy link
Collaborator

overtrue commented May 4, 2018

有没有 unionid 请确认你加到了开放平台,SDK 并不对返回值做处理。

@overtrue
Copy link
Collaborator

overtrue commented May 4, 2018

@zzpwestlife

@zzpwestlife
Copy link

公众号已绑定开放平台,snsapi_userinfo 可以获取 unionid,没有问题。

但是 snsapi_base 没有 unionid, 还需要做什么设置么?

@overtrue
Copy link
Collaborator

overtrue commented May 4, 2018

@zzpwestlife
Copy link

之前可以,后来删除了。了解了, 非常感谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants