ios关于微信登录的问题
我在极光下载了官方JShareDemo,要实现微信登录功能,但是出现了以下错误:
Error Domain=JShareErrorDomain_weChat Code=42001 "(null)"
UserInfo={error_message=invalid credential, access_token is invalid or not latest, hints: [ req_id: ZiT7Da0030s183 ]}
本地配置步骤如下:
1.在AppDelegate内修改WeChatAppId和WeChatAppSecret为项目真实参数
2.修改Bundle Id为微信开发平台上绑定的Bundle Id
3.修改plist文件内的URL Types,将weixin的Url Schemes设置为WeChatAppId的值
目前调用方法可以跳转到微信登录界面,但是点击确定后出现弹窗“无法获取到用户信息”
打印错误信息如下:
Error Domain=JShareErrorDomain_weChat Code=42001 "(null)"
UserInfo={error_message=invalid credential, access_token is invalid or not latest, hints: [ req_id: ZiT7Da0030s183 ]}
希望尽快得到回复!
感谢极光!!!