Hammock Package , Tweetsharp and C# Windows Phone

2019-08-19 07:38发布

I followed this link

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 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

            };

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.

1条回答
smile是对你的礼貌
2楼-- · 2019-08-19 08:37

Try changing DecompressionMethods or SilverlightAcceptEncodingHeader.

查看更多
登录 后发表回答