本文介绍了吊床包,Tweetsharp和C#Windows Phone 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我点击了此链接

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

逐步操作,当我运行我的应用程序时,出现错误,即调用Twitter时出错".

step by step and when I am running my app, I am getting an error i.e. "Error Calling 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

            };

我需要进行一些更改,但是什么更改都找不到.我得到的另一个答案是,我需要更新Hammock和Tweetsharp,但是已经更新了.请建议我,并帮助我.

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. Please suggest me and help me out.

推荐答案

尝试更改DecompressionMethods或SilverlightAcceptEncodingHeader.

Try changing DecompressionMethods or SilverlightAcceptEncodingHeader.

这篇关于吊床包,Tweetsharp和C#Windows Phone 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-20 01:49