invite user to a dropbox folder using python sdk -


in application sharing set of images 1 of dropbox folder few people , wrapping control on it. since using client.media('path_to_image'), getting exact url , putting in html

 <img src="the url returned"> 

, expiry duration.

but wont available other unless image_path available in other user's dropbox. though client.share('path_to_image') gives public url expiry date set ahead but, url returns shortend one. wount able use url in html img tags src.

so way short out invite users folder image path available in there dropbox client too.

is there way invite users dropbox folder, using dropbox python sdk or api.

any appreciated.

thanks in advance.

i'm not sure understand problem, or might misreading documentation client.media(). url returned api can used user without authentication (until expires) it's suitable use in tag suggest.

if short url client.share(path) problem, can call client.share(path, short_url=false) , unshortened url. links call don't lead directly image, though, web page on image can viewed or downloaded. can create direct-download link (unexpiring) share link if replace www.dropbox.com dl.dropboxusercontent.com in url.


Comments