Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

generateURLForUploadFile returns one time URL? #91

Open
ohadcn opened this issue Aug 11, 2019 · 3 comments
Open

generateURLForUploadFile returns one time URL? #91

ohadcn opened this issue Aug 11, 2019 · 3 comments

Comments

@ohadcn
Copy link

ohadcn commented Aug 11, 2019

Hey
I'm using node-agent-sdk, and my bot sends some images - mostly from a short list.
I want to upload images to LP servers once, and reuse them for another clients - but when I send it to next client he do not get my image (at least not in whatsapp)
Is the download link a one time or one client use?

@ohassidi
Copy link
Contributor

What do send to your client? The links for upload/download are for private use and cannot be shared outside from LP ecosystem since they are temporary

@ohadcn
Copy link
Author

ohadcn commented Aug 12, 2019

so what is the recommended practice for files which should be sent lot of times? (e,g: an image I want to send to a list of active chats)

@ohassidi
Copy link
Contributor

If you share them via whatsapp to client that has the SDK integration and can generate download links from the given path you have then it is ok and should work. Since the SDK should be able to generate URL for download from the given path. Outside application or whatsapp w/o integration you should share images as usual whatsapp

I hope I understood correctly the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants