How do I know if an image was actually shared on Instagram?

0

I'm developing an app that shares an image from within it to Instagram , it's in Ionic 3 . In the documentation of the plugin from Instagram to Ionic it says that the function returns whether the image was shared or not, but in practice I only get the "Share cancelled" message back, even with the image actually being shared. >

How do I get the feedback I want?

Here's an excerpt from the function:

file.readAsDataURL(url, this.imgname).then(res => {

  this.insta.share(res, this.texto).then((data) => {
    alert("Data insta share>: " + JSON.stringify(data));

  }).catch( error => {
    alert("error : " + JSON.stringify(error));
  })

}).catch(err => {})

Instagram plugin link

    
asked by anonymous 15.10.2018 / 20:10

0 answers