From 33efa2fa88451b9a47db0bec58858ad487d7d5c5 Mon Sep 17 00:00:00 2001 From: PJ Beaman Date: Mon, 22 Oct 2012 15:10:03 -0400 Subject: [PATCH] Fix sample to work with changes to the twitter API. Old URL no longer returned tweet feed. Also updated project format. --- HttpClient/HttpClient.csproj | 27 ++++++++++++--------------- HttpClient/HttpClient.sln | 4 ++-- HttpClient/Main.cs | 2 +- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/HttpClient/HttpClient.csproj b/HttpClient/HttpClient.csproj index 5bdac149..59ef707f 100644 --- a/HttpClient/HttpClient.csproj +++ b/HttpClient/HttpClient.csproj @@ -1,5 +1,5 @@ - + Debug iPhoneSimulator @@ -9,41 +9,43 @@ {6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} Exe HttpClient - v3.5 - true + True full - false + False bin\iPhoneSimulator\Debug DEBUG prompt 4 - true + True None none - false + False bin\iPhoneSimulator\Release prompt 4 None - true + True full - false + False bin\iPhone\Debug DEBUG prompt 4 iPhone Developer - true + True + + + ARMv7 none - false + False bin\iPhone\Release prompt 4 @@ -69,11 +71,6 @@ - - - - - diff --git a/HttpClient/HttpClient.sln b/HttpClient/HttpClient.sln index 0d9d70ee..e064b749 100644 --- a/HttpClient/HttpClient.sln +++ b/HttpClient/HttpClient.sln @@ -1,6 +1,6 @@  -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HttpClient", "HttpClient.csproj", "{A7833601-70B7-4E22-8CEC-0B822863286D}" EndProject Global diff --git a/HttpClient/Main.cs b/HttpClient/Main.cs index b4f613af..442038d1 100644 --- a/HttpClient/Main.cs +++ b/HttpClient/Main.cs @@ -19,7 +19,7 @@ namespace HttpClient public class Application { // URL where we fetch the wisdom from - public const string WisdomUrl = "http://twitter.com/statuses/user_timeline/823083.rss"; + public const string WisdomUrl = "http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=migueldeicaza"; static void Main (string[] args) {