Hammock Package , Tweetsharp and C# Windows Phone 8
本文关键字:Windows Phone and Package Tweetsharp Hammock | 更新日期: 2023-09-27 18:07:23
我遵循了这个链接
http://samjarawan.blogspot.co.uk/2010/09/building-real-windows-phone-7-twitter_18.html一步一步,当我运行我的应用程序,我得到一个错误,即。"Error Calling Twitter".
当我搜索它时,我发现在这部分代码
var client = new RestClient
{
Authority = "https://api.twitter.com/oauth",
Credentials = credentials,
HasElevatedPermissions = true,
SilverlightAcceptEncodingHeader = "gzip",
DecompressionMethods = DecompressionMethods.GZip
};
我需要做一些改变,但是什么改变没有找到任何地方。我得到的另一个答案是我需要更新Hammock和Tweetsharp,但它已经更新了。
尝试更改DecompressionMethods或SilverlightAcceptEncodingHeader。