I found out through the TweetSharp group that They had to make an
update to their wrapper due to a change from twitter.

On Jun 11, 1:30 pm, Naveen Kohli <naveenko...@gmail.com> wrote:
> The link that i posted, all samples are based on Tweetsharp.
>
> Yes, the response comes back as "string" and then API uses extension method
> to convert it to object type that you asked for.
> Are you using "trunk" code of Tweetsharp or stable released version.
>
> put the break point right here at this line.
>
> var twitterResponse = twitter.Request();
>
> look at what is being returned "Request" method. You will find details of
> the error there.
>
> Or if your "AsUsers()" is returninn null. Then cast that string to error
> object.
>
> var twerror = resp.AsError();
> MessageBox.Show(twerror.ErrorMessage());
>
> This should give u what went wrong.
>
> Let me know if you need any help.
>
> On Thu, Jun 11, 2009 at 11:38 AM, netdevinc.com
> <advertis...@netdevinc.com>wrote:
>
>
>
>
>
> > I am using TweetSharp to interface with the Rest API
>
> > <code>
> > IFluentTwitter twitter = GetAuthenticatedRequest();
> > twitter.Users().GetFollowers().AsJson();
> > var twitterResponse = twitter.Request();
> > var myFollowers = twitterResponse.AsUsers();
> > </code>
>
> > twitterResponse looks like a text representation of my followers but
> > when I try and cast the response AsUsers() myFollowers is null.
> > So I could believe that it is a problem with the tweetsharp library,
> > but I swear that I had this working yesterday afternoon!
>
> > On Jun 11, 11:08 am, Naveen Kohli <naveenko...@gmail.com> wrote:
> > > Put a break point right after you send request to Twitter to get response
> > > and see what is being returned. I have a feeling that you are running
> > into
> > > request rate limit. And the response you are getting back is not getting
> > > translated to your collection objects.
> > > Do you use any third party libraries to handle twitter request/response.
> > > Check out this link for examples...
>
> > >http://www.byteblocks.com/page/Twitter-Applications.aspx
>
> > > On Thu, Jun 11, 2009 at 10:57 AM, netdevinc.com
> > > <advertis...@netdevinc.com>wrote:
>
> > > > I wanted to introduced myself to the community, say hi, and ask for
> > > > help!  I am a 10 year VB.NET developer and Air Force veteran.  I have
> > > > recently started learning C# / WPF / and some Tweet #!
>
> > > > I started a quick wpf app yesterday and had two simple things
> > > > working.  Got a list of tweets by hashtag and a list of followers.  I
> > > > go to show the app today to a coworker and I no longer get a list of
> > > > followers back?  Where/how should I start debugging this?  Is there a
> > > > place to check the health of the API calls?
>
> > > > Thanks for the help in advance!
>
> --
> Naveen K Kohlihttp://www.netomatix.com

Reply via email to