简体   繁体   English

吊床包,Tweetsharp和C#Windows Phone 8

[英]Hammock Package , Tweetsharp and C# Windows Phone 8

I followed this link 我点击了此链接

http://samjarawan.blogspot.co.uk/2010/09/building-real-windows-phone-7-twitter_18.html http://samjarawan.blogspot.co.uk/2010/09/building-real-windows-phone-7-twitter_18.html

step by step and when I am running my app, I am getting an error ie "Error Calling Twitter". 逐步操作,当我运行我的应用程序时,出现错误,即“错误调用Twitter”。

When I searched about it, I found that in this part of code 当我搜索它时,我发现在这部分代码中

 var client = new RestClient
            {
                Authority = "https://api.twitter.com/oauth",
                Credentials = credentials,
                HasElevatedPermissions = true,
                SilverlightAcceptEncodingHeader = "gzip",
                DecompressionMethods = DecompressionMethods.GZip

            };

I need to do some changes, but what changes didn't find any where. 我需要做一些更改,但是什么更改都找不到。 Another answer I got that I need to update Hammock and Tweetsharp, but its already updated. 我得到的另一个答案是,我需要更新Hammock和Tweetsharp,但是已经更新了。 Please suggest me and help me out. 请建议我,并帮助我。

尝试更改DecompressionMethods或SilverlightAcceptEncodingHeader。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM