I try to get the last 20 statuses of the Usertimeline. So I search in the internet and get the follow code:
TwitterUser twitterUser = TwitterUser.Show("Username").ResponseObject;
if (twitterUser != null)
{
UserTimelineOptions userTimelineOptions = new UserTimelineOptions();
userTimelineOptions.UserId = twitterUser.Id;
return TwitterTimeline.UserTimeline(userTimelineOptions).ResponseObject;
}
return null;
When I test it, I get the follow exception:
Unexpected token when deserializing object: StartObject. Line 1, position 1795.
I have no idea what's wrong so I hope you can help me!
Try this