2013-04-03 35 views
0

我跟着這個鏈接吊牀包,Tweetsharp和C#的Windows Phone 8

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

一步一步,當我運行我的應用程序,我得到一個錯誤,即「錯誤調用的Twitter」。

當我搜索一下,我發現,在代碼

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

      }; 

這一部分,我需要做一些改變,但什麼樣的變化並沒有發現任何地方。我得到的另一個答案是我需要更新Hammock和Tweetsharp,但已更新。請建議我並幫助我。

+0

你從Twitter收到什麼信息?代碼在哪裏失敗? – gjulianm

+0

我收到「Error Calling Twitter」消息.. –

回答

-1

嘗試更改DecompressionMethods或SilverlightAcceptEncodingHeader。