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.
The initial link was incorrect, instead of:
dropbox.com/1/metadata/
The following link should have been used:
dropboxapi.com/1/media/
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments