这几天在使用pocketwit,但是添加自己建立的api总是失败,打开源文件看到如下代码

while (!r.EndOfStream)
{
    string URL = r.ReadLine();
    Twitter.ServerURL Pair = new Twitter.ServerURL();
    Pair.URL = URL + "api/";
    Pair.Name = URL.Replace("http://","").Replace(".","").Replace("/","");
    ServerList.Add(Pair.Name, Pair);
}

恍然大悟,原来添加的时候不要加入最后的api,就象这样:http://***.appspot.com/api/,程序会自动帮你添加一个后缀api/,于是在laconicaservers.txt这个文件中写http://***.appspot.com/即可!