<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is it possible to get the share link for a file which has been uploaded to dropbox? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-get-the-share-link-for-a-file-which-has-been/m-p/178558#M7198</link>
    <description>&lt;P&gt;I want to integrate Dropbox with my android app. After authentication when I upload a file to Dropbox I also want to retrieve the share link for that file. Is it possible to get it with metadata? Is it possible to get the share link for a file via api call?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can somebody help? Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:33:49 GMT</pubDate>
    <dc:creator>Sharath K.</dc:creator>
    <dc:date>2019-05-29T09:33:49Z</dc:date>
    <item>
      <title>Is it possible to get the share link for a file which has been uploaded to dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-get-the-share-link-for-a-file-which-has-been/m-p/178558#M7198</link>
      <description>&lt;P&gt;I want to integrate Dropbox with my android app. After authentication when I upload a file to Dropbox I also want to retrieve the share link for that file. Is it possible to get it with metadata? Is it possible to get the share link for a file via api call?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can somebody help? Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:33:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-get-the-share-link-for-a-file-which-has-been/m-p/178558#M7198</guid>
      <dc:creator>Sharath K.</dc:creator>
      <dc:date>2019-05-29T09:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get the share link for a file which has been uploaded to dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-get-the-share-link-for-a-file-which-has-been/m-p/178559#M7199</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/36861838/is-it-possible-to-get-the-share-link-via-dropbox-api-call-for-a-file-which-has-b" rel="nofollow noreferrer"&gt;https://stackoverflow.com/questions/36861838/is-it-possible-to-get-the-share-link-via-dropbox-api-call-for-a-file-which-has-b&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;You can use the&amp;nbsp;Dropbox API to get a shared link for a file you've uploaded. It isn't included with the file metadata itself, so you just need to make an additional API call.&lt;/P&gt;
&lt;P&gt;For example, with&amp;nbsp;Dropbox API v2, you can use the /files/upload endpoint to upload a file:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-upload&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/java" target="_blank" rel="nofollow noreferrer"&gt;Dropbox API v2 Java SDK&lt;/A&gt;, that corresponds to the upload method:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#upload-java.lang.String-" rel="nofollow noreferrer"&gt;https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html#upload-java.lang.String-&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then, you would use the&amp;nbsp;/sharing/create_shared_link_with_settings endpoint, e.g., via the&amp;nbsp;createSharedLinkWithSettings method, to get a shared link for the file:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/sharing/DbxUserSharingRequests.html#createSharedLinkWithSettings-java.lang.String-" rel="nofollow noreferrer"&gt;https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/sharing/DbxUserSharingRequests.html#createSharedLinkWithSettings-java.lang.String-&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 00:45:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-get-the-share-link-for-a-file-which-has-been/m-p/178559#M7199</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-27T00:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get the share link for a file which has been uploaded to dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-get-the-share-link-for-a-file-which-has-been/m-p/178560#M7200</link>
      <description>&lt;P&gt;I'm trying to do the same thing, and follow link above.
&lt;BR /&gt;But I still don't know how to create DbxUserSharingRequests instance. Is there any java example for this?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:07:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-get-the-share-link-for-a-file-which-has-been/m-p/178560#M7200</guid>
      <dc:creator>Timotius P.</dc:creator>
      <dc:date>2016-06-20T13:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get the share link for a file which has been uploaded to dropbox?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-get-the-share-link-for-a-file-which-has-been/m-p/178561#M7201</link>
      <description>&lt;P&gt;Here's a simple example that shows how to use that method:&lt;/P&gt;
&lt;PRE&gt;try {&lt;BR /&gt;    SharedLinkMetadata sharedLinkMetadata = client.sharing().createSharedLinkWithSettings("/test.txt");&lt;BR /&gt;    System.out.println(sharedLinkMetadata.getUrl());&lt;BR /&gt;} catch (CreateSharedLinkWithSettingsErrorException ex) {&lt;BR /&gt;    System.out.println(ex);&lt;BR /&gt;} catch (DbxException ex) {&lt;BR /&gt;    System.out.println(ex);&lt;BR /&gt;}&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Jun 2016 00:20:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-get-the-share-link-for-a-file-which-has-been/m-p/178561#M7201</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-21T00:20:14Z</dc:date>
    </item>
  </channel>
</rss>

