[英]How do i display images in reverse with RepeaterImages in asp.net
[英]How i can display dropbox images in asp.net
我正在开发 ASP.Net Web 应用程序,我需要在其中获取 Dropbox 文件夹中的图像。
我尝试了很多方法,但无法做到。 我尝试使用 Dropbox 图像的链接,但它还需要将dl=0
更改为raw=1
。 所以它变得越来越艰难。
RequestResult strReq = OAuthUtility.Get
(
"https://api.dropbox.com/1/metadata/auto/",
new HttpParameterCollection
{
{ "path", "FilePath" },
{ "access_token", "AccessToken" }
}
);
以上对我也不起作用。 当我使用 Nemiro.OAuth 时,它给了我错误: "the remote server return error of 400 bad request"
我必须完成我的项目,但我仍然有这个错误?
在此代码段中,您实际上是在尝试调用已停用的 Dropbox API v1(由/1/
组件证明)。 由于它现在已经退休,它将不再起作用。
You should instead call Dropbox API v2 , and in particular we recommend using the official Dropbox API v2 .NET SDK (as discussed in our thread in the Dropbox forum ) for .NET.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.