多张图片未与社交共享插件Cordova/Phonegap共享

多张图片未与社交共享插件Cordova/Phonegap共享,cordova,Cordova,我正在开发phonegap应用程序,并使用社交共享插件Cordova/phonegap在Facebook上共享帖子和图片。但当我尝试共享多个图像时,它不起作用,并且出现错误 我正在传递多个图像,如下所示 ['image1','image2'] 请在这方面帮助我。引用文档: 在此,您(在评论中)表示您做了以下工作: window.plugins.socialsharing.shareViaFacebook('message', null,['image1','image2']); 我认为您

我正在开发phonegap应用程序,并使用社交共享插件Cordova/phonegap在Facebook上共享帖子和图片。但当我尝试共享多个图像时,它不起作用,并且出现错误

我正在传递多个图像,如下所示

['image1','image2']  
请在这方面帮助我。

引用文档:

在此,您(在评论中)表示您做了以下工作:

window.plugins.socialsharing.shareViaFacebook('message', null,['image1','image2']);
我认为您在参数顺序上犯了一个错误:它应该是message,然后是images数组,然后是null:

window.plugins.socialsharing.shareViaFacebook('message', ['image1','image2'], null);
引用文件:

在此,您(在评论中)表示您做了以下工作:

window.plugins.socialsharing.shareViaFacebook('message', null,['image1','image2']);
我认为您在参数顺序上犯了一个错误:它应该是message,然后是images数组,然后是null:

window.plugins.socialsharing.shareViaFacebook('message', ['image1','image2'], null);
引用文件:

在此,您(在评论中)表示您做了以下工作:

window.plugins.socialsharing.shareViaFacebook('message', null,['image1','image2']);
我认为您在参数顺序上犯了一个错误:它应该是message,然后是images数组,然后是null:

window.plugins.socialsharing.shareViaFacebook('message', ['image1','image2'], null);
引用文件:

在此,您(在评论中)表示您做了以下工作:

window.plugins.socialsharing.shareViaFacebook('message', null,['image1','image2']);
我认为您在参数顺序上犯了一个错误:它应该是message,然后是images数组,然后是null:

window.plugins.socialsharing.shareViaFacebook('message', ['image1','image2'], null);

您使用的是哪个版本的插件?你能分享你正在使用的那一行吗?我已经从下面的URl下载了我的代码:window.plugins.socialsharing.shareViaFacebook('message',null,['image1','image2');您使用的是哪个版本的插件?你能分享你正在使用的那一行吗?我已经从下面的URl下载了我的代码:window.plugins.socialsharing.shareViaFacebook('message',null,['image1','image2');您使用的是哪个版本的插件?你能分享你正在使用的那一行吗?我已经从下面的URl下载了我的代码:window.plugins.socialsharing.shareViaFacebook('message',null,['image1','image2');您使用的是哪个版本的插件?你能分享你正在使用的那一行吗?我已经从下面的URl下载了我的代码:window.plugins.socialsharing.shareViaFacebook('message',null,['image1','image2');