1

我想通过FeedUri获取picasa相册中的照片我得到feeduri并分离相册ID并编写此代码

public ActionResult Detail(string feeuri)
    {

        int n=feeuri.LastIndexOf("/");
        string s=feeuri.Substring(n+1);
        PhotoQuery query = new PhotoQuery(PicasaQuery.CreatePicasaUri("username", s));
        PicasaFeed feed = service.Query(query);

       //...


        return View();
    }

但我收到一个错误,即 url 错误

4

0 回答 0