Giter VIP home page Giter VIP logo

Comments (10)

Limon-O-O avatar Limon-O-O commented on May 13, 2024

MonkeyKing暂时不支持QQ的网页授权,我智商不足,QQ的文档太深奥,上次研究了2个小时都没弄好,果断放弃。

from monkeyking.

inatu avatar inatu commented on May 13, 2024

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.

Limon-O-O avatar Limon-O-O commented on May 13, 2024

赞,我缺的就是redirect_uri,我看QQ文档的时候就是绕进了这个redirect_uri。你是用QQ SDK上截取的?我晚上试试这个redirect_uri

from monkeyking.

inatu avatar inatu commented on May 13, 2024

OK, 做好后跟我说一下, 对, 我用 QQ 的 SDK截取的, 如果可以做到麻烦通知我一下.

from monkeyking.

Limon-O-O avatar Limon-O-O commented on May 13, 2024

OK

from monkeyking.

Limon-O-O avatar Limon-O-O commented on May 13, 2024

弄了一晚....
需要注意的是Info.plistApp Transport Security Settings,里面的qq.com是需要设置4个items。

from monkeyking.

inatu avatar inatu commented on May 13, 2024

应该不是吧, 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.

Limon-O-O avatar Limon-O-O commented on May 13, 2024

后来发现是API的原因,现在可以App和Web授权。你试试

from monkeyking.

inatu avatar inatu commented on May 13, 2024

好的, 提个小建议,感觉你如果用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.

Limon-O-O avatar Limon-O-O commented on May 13, 2024

本来也想用,最近任务也比较重,我在重新开发3.0,过段时间有空再改 :)

from monkeyking.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.