Giter Club home page Giter Club logo

Comments (20)

shaohui10086 avatar shaohui10086 commented on August 21, 2024

是什么登录? QQ还是微信还是微博?

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

微博登录

from shareutil.

shaohui10086 avatar shaohui10086 commented on August 21, 2024

包名和ID匹配吗?检查一下配置

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

ShareConfig config = ShareConfig.instance()
.weiboId("9712****")
.weiboRedirectUrl("https://api.weibo.com/oauth2/default.html");
//下面是微博登录
ShareManager.init(config);

from shareutil.

shaohui10086 avatar shaohui10086 commented on August 21, 2024

修改一下...把id屏蔽掉

from shareutil.

shaohui10086 avatar shaohui10086 commented on August 21, 2024

你在微博开放平台上设置RedirectUrl了吗?检查一下:包名问题,签名问题,授权回调

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

应用要审核过了 之后才可以 授权登录和分享?

from shareutil.

shaohui10086 avatar shaohui10086 commented on August 21, 2024

对的,,,不然你没办法设置RedirectUrl吧

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

按道理 添加了 测试账号 就可以测试分享功能了呀。

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

我添加的是测试账号,只要知道微博的key就行了,跟包名、签名没关系

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

授权回调 也是写官方推荐回调地址。

from shareutil.

shaohui10086 avatar shaohui10086 commented on August 21, 2024

那就不知道了,我没用过微博的测试账号,直接就是审核通过了的,你可以先用按照微博官方配置走一遍,看能不能跑通

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

建议你去新浪开放平台看一看,不是微博的测试账号,只是给指定的账号测试功能。

from shareutil.

shaohui10086 avatar shaohui10086 commented on August 21, 2024

你测试过能用了吗

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

问题都没解决就closed issues??

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

问题解决了。 代码放了两天,然后就可以。。。。。。。。

from shareutil.

shaohui10086 avatar shaohui10086 commented on August 21, 2024

你不回我话,我也不知道你解决没啊,我一直想努力积极跟进啊。

还有就是,ShareUtil做的工作就是根据你的配置调用目标SDK,然后根据你在第三方应用内的操作(分享或者授权登录),将结果交给第三方SDK处理,并最后将结果进行封装或者进一步操作(比如登录授权成功以后获取用户信息)并返回给设定好的回调。

整个流程分析完成之后,我们分析具体问题:
你在配置好之后,调用微博的分享和登录授权,成功打开了微博的页面,到此为止,ShareUtil已经成功完成了它的前一半使命:根据你的配置调用目的SDK,具体你配置的对错,以及微博页面的处理,这些已经不再ShareUtil的考虑范围之内了,也不是它所能控制的,剩下就是目的SDK的操作。

在具体到你说到的微博审核没有通过,但是测试账号是可以用的,这点,我是没有操作过,也没办法下评判或者给出任何帮助,但我在积极配合你解决问题。

总之,开心就好:)

from shareutil.

shaohui10086 avatar shaohui10086 commented on August 21, 2024

可以了之后,你没有告诉我。。。

from shareutil.

SeaMyC avatar SeaMyC commented on August 21, 2024

刚刚可以的。。。我也不想- -..

from shareutil.

shaohui10086 avatar shaohui10086 commented on August 21, 2024

解决了就好(^o^)/

from shareutil.

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.