Sharing do not work for some URLs


#1

We try to use this public URL as an image for forge.share.item

https://dpt5udl8tkpo9.cloudfront.net/slimproxy/?src=https%3A%2F%2Fscontent.xx.fbcdn.net%2Fv%2Ft1.0-9%2F67225006_10157536203687698_4444848692419100672_n.jpg%3F_nc_oc%3DAQnJawndjN71GBJymuwluNEbxJUEAkodSjJBz-dxBcVfOvlXcwtizKJonpkv2eoOnNI%26_nc_ht%3Dscontent.xx%26oh%3Dbd8c3e5340da0700dd40206ce659059d%26oe%3D5DE40A56&w=&h=&q=85&nu=1&salt=&key=fd21abf44c464ae2108d4f78c0d99b7f

This works for iOS. What means the device sharing is opened.

On Android we get this 400 error and the device sharing does not open.

The same behavior is, when an image does not exist.
Is that what it’s meant to be, or is it a bug?
59


#2

On Android we need to cache images locally before we can share them. It’s possible that Android’s http library has bugs that causes it to fail for some URL’s.

I’ll take a closer look however when we get to the module during the v2.8.x development cycle:


#3

Thanks, for our customer we will leave the image out in the first cycle.


#4

I’ve pushed a fix for this to "version": "1.3" of the module.

You will however need to be on Forge platform v2.8.1alpha-3 or higher to use it:

https://trigger.io/docs/current/api/beta_release_notes.html

We’ll be releasing the final version of 2.8.1 towards the end of September so, unless you need it urgently or don’t mind dealing with pre-release bugs, you may want to hold off a bit :slight_smile: