locked
Dropbox integration with window store app RRS feed

All replies

  • You'll need to better explain the exact problem you're running into.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, December 30, 2013 8:09 PM
    Moderator
  • string

    appid = "geovghqi5lh4vpr";

               

    stringendurl = "ms-app://xxxxxxx";

               

    varstartUri = newUri


               (

               

    "https://www.dropbox.com/1/oauth2/authorize"


                +

    "&redirect_uri="+ endurl

                +

    "&response_type=code"


                +

    "&client_id="+ appid

               );

              

    UriendUri = newUri("ms-app://xxxxxxx"); // returns the code in the ResponseData


              

    WebAuthenticationResultresult = awaitWebAuthenticationBroker.AuthenticateAsync

                    (

                       

    WebAuthenticationOptions.None,

                        startUri,

                        endUri

                    );

    this is my code to open login window of dropbox in my application for getting  authorize request token. but its not working correctly , I think end uri is wrong. I am block to find out the end uri. so I need your help for this. 

    Tuesday, December 31, 2013 4:46 AM
  • Do you mean the URI for dropbox?

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Tuesday, December 31, 2013 2:55 PM
    Moderator