This project has moved. For the latest updates, please go here.

JsonData instance doesn't hold a string error message

May 29, 2013 at 3:36 AM
I am getting the JsonData instance doesn't hold a string error message right now when a embed a tweet in a post and then go to that page. Any thoughts? Things were fine earlier tonight.
May 29, 2013 at 3:38 AM
Edited May 29, 2013 at 11:31 AM
Any page with tweet throws the error. it blows up at var embeddedStatus
Follow up -
I even created a twitter application and am still getting the error - JsonData instance doesn't hold a string
creds changed for the post

My auth -
 var auth = new SingleUserAuthorizer
            Credentials = new InMemoryCredentials
                ConsumerKey = "sdsdfsdfsdg",
                ConsumerSecret = "sdfgsdf",
                OAuthToken = "dfsdfg",
                AccessToken = "sdgsdfgsdfg"
        var ctxTwitterContext = new TwitterContext(auth);

var embeddedStatus =
                   (from tweet in ctxTwitterContext.Status
                    where tweet.Type == StatusType.Oembed &&
                        tweet.ID == TweetID
                    select tweet.EmbeddedStatus)

            string html = embeddedStatus.Html;
May 29, 2013 at 10:00 PM
Twitter made an unannounced change of the cache_age property in the oembed response from a string to an int. I just updated LINQ to Twitter to fix this. You can see the changes and get the updated code here:
May 29, 2013 at 11:25 PM
Edited May 29, 2013 at 11:27 PM
Thanks Joe!
I download the new source compile and uploaded the new dll - everything is back to working. Greta job!