We installed uTweets version 1.1 in January 2015. Absolutely worked fine till last week when the tweets were not showing up on our website www.recordcm.com (bottom right hand) . It just shows a blank space. No code changes were done. Checked our firewalls and nothing came up. There was no error logs. Changed the keys on dev twitter web site and still doesnt work. I have reinstalled the UTweets package as well. We are using Umbraco v 6.1 . Code is as
int nrOfTweets = String.IsNullOrEmpty(Parameter.nrOfTweets) ? 10 : int.Parse(Parameter.nrOfTweets);
try
{
var t = new uTweets.Tweets();
var user = t.GetUser();
var result = t.GetTweets();
if (result != null)
{
<ul>
@foreach(var tw in result.Take(nrOfTweets)) {
<blockquote> <li> <a href="https://twitter.com/xxxx" target="_blank"> @Html.Raw(tw.TextAsHtml) (@tw.CreatedDate.ToString("dd/MM/yy")) (@tw.RelativeTime) </a></li></blockquote>
}
</ul>
}
}
catch (Exception ex)
{
@ex.ToString();
}
uTweets - Tweets disappeared from the website
We installed uTweets version 1.1 in January 2015. Absolutely worked fine till last week when the tweets were not showing up on our website www.recordcm.com (bottom right hand) . It just shows a blank space. No code changes were done. Checked our firewalls and nothing came up. There was no error logs. Changed the keys on dev twitter web site and still doesnt work. I have reinstalled the UTweets package as well. We are using Umbraco v 6.1 . Code is as
@inherits umbraco.MacroEngines.DynamicNodeContext @using umbraco; @using umbraco.MacroEngines;
@{
int nrOfTweets = String.IsNullOrEmpty(Parameter.nrOfTweets) ? 10 : int.Parse(Parameter.nrOfTweets);
}
Any suggestions?
is working on a reply...