<?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: Newbie Try to Make Some VB app in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/190730#M8236</link>
    <description>&lt;P&gt;As a first step, I recommend running the &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/tree/master/Examples/SimpleBlogDemo" target="_self"&gt;SimpleBlogDemo sample app&lt;/A&gt; and looking through how that works. For example, &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/Examples/SimpleBlogDemo/Controllers/HomeController.cs" target="_self"&gt;HomeController.cs&lt;/A&gt;&amp;nbsp;shows how to use these methods to set up and process the OAuth app authorization flow.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Oct 2016 18:09:59 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-10-14T18:09:59Z</dc:date>
    <item>
      <title>Newbie Try to Make Some VB app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/190686#M8228</link>
      <description>&lt;P&gt;Hey Guys, Im new here, i need help. i trying to make vb app using dropbox as cloud storage, for team work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already read the dropbox blog but it confuse me. i cant read the flow or what variable i should change. i know the first step is get autorization for the account but the flow confuse me. what i should change or what i should do ? please help me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Imports Dropbox
Imports Dropbox.Api
Imports System.Threading
Imports System.Text




Public Class Form1
    Public Shared Function GetAuthorizeUri(
 clientId As String,
 Optional disableSignup As Boolean = False
) As Uri
    End Function

    Public Shared Function ParseTokenFragment(
    redirectedUri As Uri
) As OAuth2Response

    End Function

    Public Shared Function ProcessCodeFlowAsync(
code As String,
appKey As String,
appSecret As String,
Optional redirectUri As String = Nothing,
Optional client As MdiClient = Nothing
) As Task(Of OAuth2Response)
    End Function

End Class







&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:29:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/190686#M8228</guid>
      <dc:creator>Blue_Maniac</dc:creator>
      <dc:date>2019-05-29T09:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Try to Make Some VB app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/190730#M8236</link>
      <description>&lt;P&gt;As a first step, I recommend running the &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/tree/master/Examples/SimpleBlogDemo" target="_self"&gt;SimpleBlogDemo sample app&lt;/A&gt; and looking through how that works. For example, &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/Examples/SimpleBlogDemo/Controllers/HomeController.cs" target="_self"&gt;HomeController.cs&lt;/A&gt;&amp;nbsp;shows how to use these methods to set up and process the OAuth app authorization flow.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 18:09:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/190730#M8236</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-10-14T18:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Try to Make Some VB app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191391#M8358</link>
      <description>Thanks fo the advice, but after i tried it. i still dont know where to start, i know i need to capture user id and pass to log in to dropbox, second i need to capture the acces token. but i dont understand the flow from example you give. please give me more simple explanation, because im very very new to make vb app with connection to dropbox</description>
      <pubDate>Thu, 20 Oct 2016 14:01:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191391#M8358</guid>
      <dc:creator>Blue_Maniac</dc:creator>
      <dc:date>2016-10-20T14:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Try to Make Some VB app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191426#M8366</link>
      <description>Did you get the sample running and try it out? Where did you get stuck exactly?&lt;BR /&gt;&lt;BR /&gt;Also, we have an OAuth guide here that should serve as a good primer for how the flow works:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/reference/oauthguide" target="_blank"&gt;https://www.dropbox.com/developers/reference/oauthguide&lt;/A&gt;</description>
      <pubDate>Thu, 20 Oct 2016 17:36:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191426#M8366</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-10-20T17:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Try to Make Some VB app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191472#M8379</link>
      <description>&lt;P&gt;hey i try your example, but it stuck when redirected to &lt;A href="https://www.dropbox.com/1/oauth2/redirect_receiver" target="_self"&gt;https://www.dropbox.com/1/oauth2/redirect_receiver&lt;/A&gt;&amp;nbsp;white page and i cant catch the token acces and here i'm. but thanks by the way now i star to understand it&lt;/P&gt;&lt;PRE&gt;Imports System.Web
Imports System.Net
Imports System.Text
Imports System.Windows.Forms
Imports Dropbox
Imports Dropbox.Api


Public Class Form1


    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        'Be sure to replace this with your app key from dropbox.com/developers/apps.
        Dim clientID = "oxug9jwop2ktf38"

        ' The redirect URI you use doesn't really matter, so feel free to use something else,
        ' but this is one we've set up specifically for client-side apps to use.
        Dim redirectUri = New Uri("https://www.dropbox.com/1/oauth2/redirect_receiver")
        Dim uri = String.Format("https://www.dropbox.com/1/oauth2/authorize?response_type=token&amp;amp;redirect_uri={0}&amp;amp;client_id={1}", redirectUri, clientID)

        WebBrowser1.Navigate(uri)

    End Sub


    ' This method gets called when the WebBrowser control loads a new page.
    Private Sub webBrowser1_Navigated(sender As Object, e As WebBrowser)


        ' Make sure that this is our redirect page.
        If (e.Url.AbsoluteUri.StartsWith("https://www.dropbox.com/1/oauth2/redirect_receiver")) Then

        End If
        ' Parse out the access token from the URL fragment.
        Dim accessToken = HttpUtility.ParseQueryString(e.Url.Fragment.Substring(1))("acces_token")
        ' TODO: Save the access token somewhere so the user doesn't need to log in the next time!

        ' Make a call to /account/info to verify that the access token is working.
        Dim client = New WebClient()
        client.Headers("Authorization") = "Bearer " + accessToken
        Dim accountInfo = client.DownloadString("https://www.dropbox.com/1/account/info")
        MessageBox.Show("Account info: " + accountInfo)

    End Sub

    

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Me.alamat.Text = Me.WebBrowser1.Url.ToString
          End Sub
End Class&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 09:33:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191472#M8379</guid>
      <dc:creator>Blue_Maniac</dc:creator>
      <dc:date>2016-10-21T09:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Try to Make Some VB app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191553#M8392</link>
      <description>Can you elaborate on what you mean when you say you can't catch the access token? What specifically isn't working?</description>
      <pubDate>Fri, 21 Oct 2016 16:52:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191553#M8392</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-10-21T16:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Try to Make Some VB app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191709#M8420</link>
      <description>&lt;P&gt;the URI, after login, the flow should take me to page that contain acces token but when i done with login, the next page is blank and when i look the code, it should display a message box contain my account info using my acces token. &amp;nbsp;i already got the access token, but the problem is take it and store from url&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Oct 2016 09:46:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191709#M8420</guid>
      <dc:creator>Blue_Maniac</dc:creator>
      <dc:date>2016-10-23T09:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Try to Make Some VB app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191834#M8432</link>
      <description>The /redirect_receiver page you're using is just a blank page on dropbox.com for receiving the redirect. You'll want to send the user elsewhere or just close the browser after that, depending on what you want your app to do.</description>
      <pubDate>Mon, 24 Oct 2016 18:07:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Newbie-Try-to-Make-Some-VB-app/m-p/191834#M8432</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-10-24T18:07:23Z</dc:date>
    </item>
  </channel>
</rss>

