Send Image FB Messenger

(Beth Madden) #1

I have created a use case where I want to send an image of a Card containing a Barcode through Messenger. I have been able to make this work with Console but it does not work once I push it to Facebook Messenger.

I created a very basic flow to test the use case as I want to add it to a more complex flow that once someone registers an an API will send the Card URL with their Membership card.

Any thoughts on why it doesn’t work in FB Messenger?

(Karen Barker) #2

Hi Beth,

Are there any errors in your interactions when you run the flow in Facebook Messenger? This would be the first place to look for hints on why it’s not working. If you can’t work it out from here, would you please be able to share the public link (Click on private at the top of your flow and set the flow to public) to your flow with me at support@flowxo.com and I’ll happily take a closer look. :slight_smile:

Thanks.

(Beth Madden) #3

Thanks for the note, yes I see the error it indicates it is an invalid file
type. It is a link to an image stored in the cloud with a link such as the
one below generated by google photos. I had the same issue with an image
hosted in dropbox.
Google Photos

Any ideas on how I could make this image available through the Send Image
flow? I don’t want to use the Send Card flow as I need the user to be able
to save the image and this feature is not available as an option in the
Send Card probably for the same reason.

Thanks.
Beth

(Daniel Beckett) #4

@synapzeweb

You could try a different hosting site such as Imgur to see if you get any different results. When I ran quick test sending the image you shared it seems to work for me though?

Any chance you could share the URL that you’re testing with?

Thanks,
Dan

(Beth Madden) #5

Hi Daniel,

Do you want the link to the image to test or to review the flow I created
so you can test? Sorry just not 100% sure what you are asking for. I
tried a different image that I had hosted on a domain we manage and that
one worked fine, it seems to be looking for an image extension in the URL.

Here is the link to the Image stored on Google Photos:
Google Photos

Beth

(Beth Madden) #6

Here is the flow I have been testing:
https://flowxo.com/share/82panxdb

(Karen Barker) #7

Hi Beth,

Thanks for sharing your flow, being able to see the actual error message has helped here. The URL that you’re using must also show the file extension - e.g. .jpeg, .png, .gif etc. The system throws the invalid file type error if it does not find this information on the URL.

I hope this helps. :slight_smile:

(Beth Madden) #8

I had already figured that out, however it is a legitimate cloud url to an
image, is this a FB Messenger constraint? Most Cloud based storage
platforms generate these types of URL’s. Any ideas on how to get around it
other than finding a different storage solution?

Thanks,
Beth

(John Jackson) #9

Sorry to see you’re having trouble with this Beth. I can see quite a few people online complaining about it. There is some speculation that it’s a file size limitation but the image you’re sending is quite small.

Incidentally in the flow you shared the image address you used was the Google Photos page, not the image itself. You need to right click and ‘open location in new tab’ a few times to get to the raw image itself. The address of this image is:

https://lh3.googleusercontent.com/f5fToeFeaz1KHZTLXfJ_Ujt04xOJjDyuYjDebkqv6CNxhuCiLN07nvwpReokq67q8-Tf3LzHaN_BreI1-2SGiZSU9Y1rKQTl1gkIKwp7L0omQe7LQOWrYwPWDWUKQHJ2nRg2iHfvGxRP1uiFMdYZh-wbO_S9boB4IL_G5J4BHklOPprIoOg0bHwrPWRrl1HdXRm_Z2ThROVT47x55sbMCzDBdlc_oCbO3ooI35TeOXdyl1j_A5Y14CPEpjKAqSa6nBPxjCsIjkGd2rkn5_t1TspqXSrd7PnPTJzGK3Sv7FsPRv8lSoQ6Li8gjc1p26a-BukT9KUol9EbdWs6vx8IYoLXK_7upXIhLwkwA0ErO0URW7q9IAetUJUSLQiZx0UBL9gSmmafko20WpMOCYHxLHGdaez2HDN-ueaVLuyQrm0uRWgvO4iBVTfuNoqQVb5MWxStG6dCdQk9OauJEQLnZmHLxpO3770uB4gA6FS3eKiB_LmehAT8OxxdicALK37FsAgFMu7xjbxy-yBVQMYa06yiaBk_HjFzSWqLJoEf4kgT8TUsVncLX4mfnvuRPtmlzW_V9jAfG5bjf7Di7ShavRSRKQYoaIRufWQL-Md3MmcMGGfYPrHJoFVL5GRCWjRF9M35U39gOJsUJpZZfD7z4vCynfnD2Y9LJOA=s256-no

However, even using this URL, I can’t get the image to be accepted by Messenger. My best guess is it’s some header that is being set that is strictly followed by Messenger. I can get the image in my browser.

I know other customers have tried imgur and that worked, although again you need to get the raw image address, not the usual imgur URL.

We’re working on making this easier to use in the future so you can just upload it!!

(Beth Madden) #10

Great thanks for looking in to it, we will find a way to ensure it includes
the proper image file extensions.

Beth