You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 15, 2023. It is now read-only.
I'm attempting to cache tweet queries in our iOS app. To do this I take the response and attempt to serialize it like so:
var tweetResponse = await _twitterSession.GetUserTimeline(TwitterHandle, 0, 0, 0, 100);
Where _twitterSession is an ApplicationSession from our app (this works fine) then :
var tweetstring = jsonConverter.SerializeObject(tweetResponse);
// Stick that string in cache goes here and then later (...)
var oldTweetObjects = jsonConverter.DeserializeObject<TwitterResponseCollection<BoxKite.Twitter.Models.Tweet>>(tweetstring);
Where our cache mechanism is unimportant and the jsonConverter is just stock JSON.Net. If I then iterate over the deserialzed data, it all appears valid, but the datetime fields are all Day 1, of Month 1, Year 1 - all the tweet times come back "2014 years ago" - hehe.