Comments (10)
MonkeyKing暂时不支持QQ的网页授权,我智商不足,QQ的文档太深奥,上次研究了2个小时都没弄好,果断放弃。
from monkeyking.
Hi, 截取了一个 QQ 请求授权的 URL以及返回, 不知道能不能提供些思路
http://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=xxxxxxxxxx&pt_3rd_aid=209656&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=m_authorize&client_id=209656&redirect_uri=auth%3A%2F%2Fwww.qq.com&response_type=token
from monkeyking.
赞,我缺的就是redirect_uri
,我看QQ文档的时候就是绕进了这个redirect_uri
。你是用QQ SDK上截取的?我晚上试试这个redirect_uri
。
from monkeyking.
OK, 做好后跟我说一下, 对, 我用 QQ 的 SDK截取的, 如果可以做到麻烦通知我一下.
from monkeyking.
OK
from monkeyking.
弄了一晚....
需要注意的是Info.plist
的App Transport Security Settings
,里面的qq.com是需要设置4个items。
from monkeyking.
应该不是吧, ShareSDK 是支持网页和 App 授权的, 你应该是没有申请权限吧, 搜索你的错误代码.
http://wiki.open.qq.com/wiki/【QQ登录】公共返回码说明
On Nov 20, 2015, at 1:15 AM, Limon [email protected] wrote:
已泪奔.....现在成功获取了token,但......居然说msg = "app has no privilege to use this api";
ret = 100031;我也是醉了,难道QQ是不能同时支持网页和App授权的?—
Reply to this email directly or view it on GitHub #16 (comment).
from monkeyking.
后来发现是API的原因,现在可以App和Web授权。你试试
from monkeyking.
好的, 提个小建议,感觉你如果用swift的异常处理机制可以将api设计的更好,包括微博分享视频等各种异常的fatal error,本来想自己完善下的,不过因为最近开发任务比较重,在设计我们4.0版本的重写,所以没有时间。
总之感觉这个框架想法不错。
Sent from my iPad
On Nov 20, 2015, at 10:31 AM, Limon [email protected] wrote:
后来发现是API的原因,现在可以App和Web授权。你试试
—
Reply to this email directly or view it on GitHub.
from monkeyking.
本来也想用,最近任务也比较重,我在重新开发3.0,过段时间有空再改 :)
from monkeyking.
Related Issues (20)
- openURLContexts 这个方法应该重写 HOT 2
- carthage build with xcode 12 failed HOT 1
- 微信授权回调 HOT 1
- 部分没有下载到 AASA 文件的设备无法打开 Universal Link
- 微信支付调用MonkeyKing.deliver(.weChat(url: url)) { result in }可以支付成功,但是回调 { result in }无法触发,请问可能是什么问题导致的? HOT 2
- QQ授权登录返回成功,但是info是nil HOT 5
- 支付宝支付相关 HOT 3
- 微信分享跳转微信出现正在连接之后直接返回app,有遇到过的朋友吗? HOT 5
- 微信授权登录突然报错 HOT 3
- 考虑下企业微信不
- qq分享 universalLink: nil,出现25105 HOT 3
- 分享小程序报错 HOT 2
- 写错
- Binary target zip file naming problem HOT 2
- weChatOAuthForCode 确认弹窗 HOT 4
- 拉起微信小程序提示"由于应用universal link校验不通过" HOT 19
- 支付宝SDK15.8.03 url更新
- wechatAuthToken 的获取 HOT 1
- 微信获取Code回调问题
- iOS 12 微信授权错误(invalidURLScheme)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monkeyking.