0
有沒有人與Google電子表格API for Google域名發生500次錯誤?Google電子表格API - 返回遠程500錯誤
我已將此文章(兩腳OAuth)中的代碼複製到:http://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/samples/OAuth/Program.cs,在我的域中被替換; s API id和祕密以及我自己的憑據,它可以工作。
所以看來我的域名設置沒問題(至少對於聯繫人/日曆API)。
但是,將代碼替換爲新的Spreadsheet服務/查詢,而是將其恢復爲鍵入:遠程服務器返回內部服務器錯誤(500)。
var ssq = new SpreadsheetQuery();
ssq.Uri = new OAuthUri("https://spreadsheets.google.com/feeds/spreadsheets/private/full", "me", "mydomain.com");
ssq.OAuthRequestorId = "[email protected]"; // can do this instead of using OAuthUri for queries
var feed = ssservice.Query(ssq); //boom 500
Console.WriteLine("ss:" + feed.Entries.Count);
我都糊塗