GetPreviewLinkAsync API
Hi All,
I tried to get the shared liink url with GetPreviewLinkAsync
but the link is different from the web interface vs the function
https://testyyy.box.com/s/crru34a28w895v690xfaekdvesb5qrf
------------
-
Hi ,
The GetPreviewLinkAsync method will return an embeddable URL that may be inserted into an iframe to display the content of a folder, such as through Box Embed. The first link you provided is a standard shared link that may be used in a link to redirect people to Box to preview the file / folder.
If you want to obtain a link similar to the first one you'll want to use this method.
Thanks,
Jon
Please sign in to leave a comment.
Comments
1 comment