I have developed a SharePoint timer job that executes on intervals and captures tweets, mentions and direct messages from specific twitter handles used by our organization principles for records retention purposes. Everything was working fine until yesterday when I started seeing exception thrown from my timer job.
The exception I’m receiving is this:
System.AggregateException: One or more errors occurred. ---> LinqToTwitter.TwitterQueryException: Sorry, that page does not exist. at LinqToTwitter.Net.TwitterErrorHandler.BuildAndThrowTwitterQueryException(String responseStr, HttpResponseMessage msg) at LinqToTwitter.Net.TwitterErrorHandler.<HandleGenericErrorAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
And my code looks like this:
tweets = (from tweet in param_twitterctx.Status where tweet.Type == StatusType.User && tweet.ScreenName == m_string_twitterhandle select tweet) .ToList();
What am I doing wrong? What does, “Sorry, that page does not exist.” mean? Any ideas?
Thanks so much in advance.