简体   繁体   中英

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

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

尝试更改DecompressionMethods或SilverlightAcceptEncodingHeader。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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