This project has moved and is read-only. For the latest updates, please go here.

New Error: JsonData instance doesn't hold a ulong

Jun 14, 2013 at 11:48 AM
I am assuming this like the previous error posted - Did twitter make yet another unannounced change?
Jun 14, 2013 at 2:31 PM
They switched from ulong back to string again. This time I knew about it:

I just checked in a fix. I'm keeping the CacheAge property as a ulong, but just parsing the string.

Jul 14, 2013 at 6:02 PM
Edited Jul 14, 2013 at 6:09 PM
I'm getting this same issue on v2.1.6.0. Am I doing something wrong or is the fix above in that release?
        var statusTweets = from tweet in twitterCtx.Status
                           where tweet.Type == StatusType.User
                                 && tweet.ScreenName == "chrisp_68"
                                 && tweet.Count == 5
                           select tweet;

        IList<EmbeddedStatus> tweets = new List<EmbeddedStatus>();

        foreach (var statusTweet in statusTweets)

            var embeddedStatus =
                (from tweet in twitterCtx.Status
                 where tweet.Type == StatusType.Oembed &&
                       tweet.ID == statusTweet.StatusID
                 select tweet.EmbeddedStatus)

Jul 14, 2013 at 6:19 PM
ok, sorry to reply to my own post but ..... I have downloaded the latest code and built it and no longer get this error.