SocialSharing plugin problem

Hi Guys
im testing the social sharing part of the application using this plugin to share via facebook

the share button does open the facebook app but for some reason it doesnt pass the image or the link variables
the message variable is working

here is my code

var message =“See test Ecosystem in”;
var image =‘img/new/logo-home-s.png’;
var link = ‘’;

    .shareViaFacebookWithPasteMessageHint(message,image,link,'Message pasted to clip board ,press on the area to paste it in the feed')
    .then(function(result) {
         var alertPopup = $ionicPopup.alert({
             title: 'Thanks for sharing via facebook'
           alertPopup.then(function(res) {
    }, function(err) {
              var alertPopup = $ionicPopup.alert({
                 title: 'Could not post to Facebook',
                 template : 'Do you have the app installed?'
           alertPopup.then(function(res) {
1 Like

The image must be an url… And You can’t share image or text with FB only url is allowed at least on Android

i changed the image to an url and nothing…
is there another solution
i need that when the user click share it will at least share the logo image and url…

according to this

you can only share image or url not both

i tried passing null to the third argument (link) but it still doesnt work
var message =“See Baykus Ecosystem”;
var image =‘’;
var link = ‘’;

    .shareViaFacebookWithPasteMessageHint(message,image,null,'Message pasted to clip board ,press on the area to paste it in the feed')

no image on the share

Hi @naoru,

Is there some workaround to share a message on Facebook? Any updates please.

Thanks in advance.

I’m having this same problem. I know that it used to work.

Just found this:

Apparently, it’s due to a newer version of the FB app.

Any news about this problem ?


Any news ? Please Please

You must use the Facebook method that copies the message to the clipboard. I’m pretty sure that Instagram now works the same way. There were apps abusing the pre-filled messages. That’s why we can’t have nice things :frowning:

1 Like

@dmilner can you explain me which method I need to use ? Thanks.

This page explains everything:

The method you must use is called:

i am still having the problem.Any workbound?