Twitter Module not pulling in content


#1

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(“http://twitter.com/statuses/user_timeline/{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?


#2

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


#3

Thank you!!


#4