Twitter Module not pulling in content


We have a client that has had a working twitter module for some time. Within the past few days they have informed us that the twitter module is appearing blank on their site. They thought it could have to do with the fact that they have updated the password, but the password has been updated in all the configurations. This is a sitecore website, the twitter settings (username, password) are stored in sitecore and pulled from there in the code.

The error message received is:

Application Error: 10/18/2012 1:31:04 PM
System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at NAA.CmsSites.Utilities.TwitterFeed.PerformRequest(String method, String url) in F:\Clients\NAA\P20100907\Dev\NAA.CmsSites.Utilities\SocialMedia\TwitterFeed.cs:line 59
   at NAA.CmsSites.Utilities.TwitterFeed.Get(String url) in F:\Clients\NAA\P20100907\Dev\NAA.CmsSites.Utilities\SocialMedia\TwitterFeed.cs:line 232
   at NAA.CmsSites.Utilities.TwitterFeed.GetUserTimeLine(String user, String strCount) in F:\Clients\NAA\P20100907\Dev\NAA.CmsSites.Utilities\SocialMedia\TwitterFeed.cs:line 167
   at NAA.CmsSites.Web.layouts.NAACorp.HomePage.LatestTweets.Page_Load(Object sender, EventArgs e) in F:\Clients\NAA\P20100907\Dev\NAA.CmsSites.Web\layouts\NAACorp\HomePage\LatestTweets.ascx.cs:line 29

Reviewing the code we can see that GetUserTimeLine is being called which is setting the URL to
string.Format(“{0}.xml”, user);

Then the URL is sent to PerformRequest.

When going to the URL in a web browser you get:
<?xml version="1.0" encoding="UTF-8"?>
- Sorry, that page does not exist

Is anyone else having this issue?? None of our Twitter code has been modified, so we thought maybe there was something going on, on twitters end?


See this FAQ question for more information on the retired and deprecated API paths you’re using:


Thank you!!