Hey Mark,

Not a problem. Glad you found the source of the error.
Best,
Matt

On Wed, Jul 21, 2010 at 3:11 PM, Mark Krieger <markskrie...@gmail.com>wrote:

> Matt,
>
> I found the problem, sorry, I believe it is on my end. I found a line
> of code someone here changed. Argh. I will be more careful with your
> time in the future.
>
> Mark
>
> On Jul 21, 6:00 pm, Mark Krieger <markskrie...@gmail.com> wrote:
> > Matt,
> >
> > Thanks for the quick response. The call uses EpiTwitter.php, it looks
> > like:
> >
> > Call Oauth to authenticate (this works), then:
> >
> > $val = $twitterObj->get_statusesMentions(array('since_id' =>
> > $lastid));
> > $arr = json_decode($val->responseText, true);
> > if (empty($arr)) { $error = "error text"; log_message(...)}
> > else ...
> >
> > It logs the "error text" showing the response through EpiTwitter was
> > empty. Also, when I print $val->responseText, it is EMPTY.
> >
> > I've tried it on 4 twitter accounts I have, all of which have worked
> > for many months in code which has not changed, it has only failed
> > before when the api was down (like tuesday). And all other api calls
> > which use similar code all work fine. I am stumped.
> >
> > I can send more data, like the $lastid, and my credentials for oauth
> > to you, I would of course do that privately. I will run some more
> > tests from here first I guess.
> >
> > Thanks,
> >
> > Mark
> > On Jul 21, 4:49 pm, Matt Harris <thematthar...@twitter.com> wrote:
> >
> > > Hi Mark,
> >
> > > We aren't seeing any errors like this when we run some tests. Could you
> > > elaborate on what the bogus headers are?
> >
> > > Matt
> >
> > > On Wed, Jul 21, 2010 at 12:51 PM, Mark Krieger <markskrie...@gmail.com
> >wrote:
> >
> > > > My application has used getStatusesMentions for many months, it is
> > > > only failing when twitter has had some problem, like two days ago,
> and
> > > > in that case, everything is flaky. Today it is failing, but
> everything
> > > > else works fine. Is this a known problem today? getStatusesMentions
> > > > always comes back today with bogus headers....
> >
> > > > Mark
> >
> > > --
> >
> > > Matt Harris
> > > Developer Advocate, Twitterhttp://twitter.com/themattharris
>



-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

Reply via email to