<?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 Re: Dropbox requests via a server in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/213134#M10822</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it's not possible to call in the .NET code a think like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var _auth = getAuth("dropBoxUser","UserPassword")&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;without having a popup asking for credentials?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Mar 2017 14:13:30 GMT</pubDate>
    <dc:creator>Coder</dc:creator>
    <dc:date>2017-03-25T14:13:30Z</dc:date>
    <item>
      <title>Dropbox requests via a server</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/198093#M9157</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We need users to login to our system only and access one dropbox account only. In other words many users access the same dropbox account. That account is a company account with shared readonly documents. We don't want the users access the dropbox account, so the server only has the credentials to access that only dropbox account.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:27:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/198093#M9157</guid>
      <dc:creator>Coder</dc:creator>
      <dc:date>2019-05-29T09:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox requests via a server</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/198170#M9162</link>
      <description>what system? it is a web site or desktop app?&lt;BR /&gt;... the question isn't very clear to me ...</description>
      <pubDate>Fri, 16 Dec 2016 16:51:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/198170#M9162</guid>
      <dc:creator>axew3</dc:creator>
      <dc:date>2016-12-16T16:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox requests via a server</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/198190#M9166</link>
      <description>The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons.&lt;BR /&gt;&lt;BR /&gt;However if you did want to go this route, instead of kicking off the authorization flow, you would manually use an existing access token for your account and app. (Just be careful not to revoke it, e.g. via &lt;A href="https://www.dropbox.com/account/security" target="_blank"&gt;https://www.dropbox.com/account/security&lt;/A&gt; .)&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Dec 2016 18:01:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/198190#M9166</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-12-16T18:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox requests via a server</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/213134#M10822</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it's not possible to call in the .NET code a think like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var _auth = getAuth("dropBoxUser","UserPassword")&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;without having a popup asking for credentials?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 14:13:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/213134#M10822</guid>
      <dc:creator>Coder</dc:creator>
      <dc:date>2017-03-25T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox requests via a server</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/213142#M10824</link>
      <description>&lt;P&gt;I'm trying to do this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://content.dropboxapi.com/2/sharing/get_shared_link_file --header "Authorization: Bearer i8QD8..." --header "Dropbox-API-Arg: {\"url\": \"https://www.dropbox.com/s/g1mijjb5deejf6h/Test.txt?dl=0\"}"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that works. Doing it In .NET:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;string _url = "https://content.dropboxapi.com/2/sharing/get_shared_link_file"; 
client.Headers.Add("Authorization", "Bearer i8Q......");
string _dropBoxParams = "{\"url\": \"https://www.dropbox.com/s/g1mijjb5deejf6h/Test.txt?dl=0\"}";
client.Headers.Add("Dropbox-API-Arg", _dropBoxParams); 
byte[] _responsebytes = client.UploadValues(_url, "POST", _postParameter);&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but it gives: &amp;nbsp;The remote server returned an error: (400) Bad Request.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 14:14:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/213142#M10824</guid>
      <dc:creator>Coder</dc:creator>
      <dc:date>2017-03-25T14:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox requests via a server</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/213251#M10837</link>
      <description>&lt;P&gt;If you're going to use a single account like this, you should embed the access token like you do in your most recent post, not via username/password.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're doing this in .NET, we highly&amp;nbsp;recommend using the &lt;A href="https://www.dropbox.com/developers/documentation/dotnet" target="_self"&gt;official API v2 .NET SDK&lt;/A&gt;. That would do much of the work for you. If you use that, to make this call you would use the &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_GetSharedLinkFileAsync_1.htm" target="_self"&gt;GetSharedLinkFileAsync method&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, if you do want to make the call directly, without using the SDK, print the body of the response. That will contain more error information indicating what the issue is.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 14:19:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-requests-via-a-server/m-p/213251#M10837</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-25T14:19:15Z</dc:date>
    </item>
  </channel>
</rss>

