朋友圈分享到 Twitter 时授权失败,Logcat 抓到如下日志:
11-13 11:56:20.189 16054 16189 E AndroidRuntime: FATAL EXCEPTION: Twitter_doOAuth
11-13 11:56:20.189 16054 16189 E AndroidRuntime: Process: com.tencent.mm, PID: 16054
11-13 11:56:20.189 16054 16189 E AndroidRuntime: org.c.b.b: Response body is incorrect. Can't extract token and secret from this: '<?xml version="1.0" encoding="UTF-8"?><errors><error code="415">Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings</error></errors>'
11-13 11:56:20.189 16054 16189 E AndroidRuntime: at org.c.c.g.g(SourceFile:41)
11-13 11:56:20.189 16054 16189 E AndroidRuntime: at org.c.c.g.ahC(SourceFile:27)
11-13 11:56:20.189 16054 16189 E AndroidRuntime: at org.c.e.a.cVW(SourceFile:52)
11-13 11:56:20.189 16054 16189 E AndroidRuntime: at com.tencent.mm.ui.i.a$2.run(SourceFile:133)
11-13 11:56:20.189 16054 16189 E AndroidRuntime: at com.tencent.mm.sdk.f.g.run(SourceFile:59)
11-13 11:56:20.189 16054 16189 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
11-13 11:56:20.189 16054 16189 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
11-13 11:56:20.189 16054 16189 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
Android 版本:Oxygen OS 5.0.6 (Android 8.0.0)
微信版本:6.7.3 从 Google Play 商店安装
1
yksoft1 2018-11-13 14:32:17 +08:00
查一下那个 callback url 到底是啥,有没有在 Twitter API 那边加入白名单。
|
4
Volekingsg 2018-11-14 21:22:09 +08:00
解决了说一声,谢谢🤣
|
5
boris1993 OP @Volekingsg 我是在给微信提工单啊.......这是微信的问题啊......我只是个用户啊.......
|