sinaweibosdk / weibo_android_sdk

新浪微博 Android SDK
1.83k stars 1.19k forks source link

分享为什么会跳转登录页面呢 #660

Closed gaohomway closed 3 months ago

gaohomway commented 2 years ago

使用Android微博分享SDK时,分享最简单的文字内容,跳转至登录页面,请问是什么问题呢?

implementation 'io.github.sinaweibosdk:core:12.5.0@aar

使用方式


val textObject = TextObject()
textObject.text = "就是离开对方的方式。"
textObject.title = "xxxx"
textObject.actionUrl = "https://www.feifeng.com.cn"
val message = WeiboMultiMessage()
message.textObject = textObject
weiboAPI.shareMessage(context as AppActivity, message, false)

D8390C7FF98D367219FFE32679D137FB