|
我在用WeX5开发的应用中,需要做“微博转发”。(注意是转发,不是分享)
后来我使用了这个接口。 但是他只是新建“文本内容分享”,并不是转发我看到的那条微博。
我上网查了后,好像有一个“新浪微博MID”的概念。也就是要转发的那条微博的ID。
我的问题来了,这个分享接口是支持转发的吗? 或者还有其他接口? 请各位帮忙。
我现在用到接口
/**
调用相关接口,实现分享功能
**/
Model.prototype.weiboClick = function(event) {
function success(result) {
alert(JSON.stringify(result));
}
function error(result) {
alert(JSON.stringify(result));
}
navigator.Weibo.shareToWeibo(success, error, {
"title" : "WeX5开发指南",
"url" : window.location.href,
"imageUrl" : "http://wex5.com/cn/wp-content/uploads/2015/03/wen-xin-2.png"
});
};//微博分享
|
|