3

I want to show Dropbox image files in an ASP.NET image control using the Core API in C#. I'm populating the dropbox image file using the below code:

RequestResult strReq = OAuthUtility.Get
(
    "https://api.dropbox.com/1/metadata/auto/",
    new HttpParameterCollection
    {
        { "path", "FilePath" },
        { "access_token", "AccessToken" }
    }
);

Suppose there is an image control on the .aspx page

<asp:Image id="Image1" runat="server"> 

and I want to display the Dropbox image file on this control.

1
  • See stackoverflow.com/questions/46788/…. I think you need to create an HttpHandler. The Dropbox part of this should be no different from using any other content for the image. Commented Jun 8, 2016 at 2:59

1 Answer 1

0

The initial link was incorrect, instead of:

dropbox.com/1/metadata/

The following link should have been used:

dropboxapi.com/1/media/
Sign up to request clarification or add additional context in comments.

1 Comment

This answer is excessively brief and hard to understand. Please flesh it out so it is more clear what you are suggesting as an answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.