Hey Carl,

Thanks for the update. We're going to need to look at the other bits of
information, if you want to email me that off list please do.
Matt

On Thu, Jul 1, 2010 at 10:07 AM, cthress <c...@4thress.com> wrote:

> Matt,
>
> I must have accidentally chopped it out when I was replacing the
> consumer key with asterisks the last time around. Here's the string
> from my most recent attempt...
>
> basestring:
>
> GET&http%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
> %2Fretweeted_by_me.json&oauth_consumer_key%3D*****%26oauth_nonce
> %3D*****%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> %3D1278003825%26oauth_token%3D*****%26oauth_version%3D1.0
>
>
> Thanks,
>
> Carl
>
>
> On Jul 1, 10:56 am, Matt Harris <thematthar...@twitter.com> wrote:
> > Hey Carl,
> >
> > Your correct about the parameters in the auth header. It was the base
> string
> > I was referring to. Looking at your basestring I notice it is in order,
> but
> > that it doesn't include the oauth_nonce. Can you check the oauth_nonce is
> > actually in your base string?
> >
> > Matt
> >
> >
> >
> > On Wed, Jun 30, 2010 at 3:45 PM, cthress <c...@4thress.com> wrote:
> > > Matt,
> >
> > > It doesn't seem to make a difference. I also checked it against the
> > > base string and headers for the user_timeline query that is working
> > > ok, and the order of the elements is the same in both queries.
> >
> > > Thanks,
> >
> > > Carl
> >
> > > On Jun 30, 4:42 pm, Matt Harris <thematthar...@twitter.com> wrote:
> > > > Hi Carl,
> >
> > > > My immediate response is that the order of arguments in your
> basestring
> > > are
> > > > different to the order in your authorization header. This would cause
> the
> > > > signatures to be different as you signed them in one order but
> delivered
> > > in
> > > > another.
> >
> > > > See if keeping them in the same order fixes it.
> >
> > > > Matt
> >
> > > > On Wed, Jun 30, 2010 at 2:29 PM, cthress <c...@4thress.com> wrote:
> > > > > Matt,
> >
> > > > > Here's the base string:
> > > > > GET&http%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
> > > > > %2Fretweeted_by_me.json&oauth_consumer_key%3D****************
> > > > > %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> > > > >
> %3D1277932576%26oauth_token%3D****************%26oauth_version%3D1.0
> >
> > > > > And here are the headers:
> > > > > Authorization: OAuth realm="http%3A%2F%2Fapi.twitter.com
> >
> > >
> %2F",oauth_version="1.0",oauth_nonce="e32167a3bfc33f59e1d18e3907df5ee6",oauth_timestamp="1277932576",oauth_consumer_key="*********",oauth_token="*****************",oauth_signature_method="HMAC-
> > > > > SHA1",oauth_signature="ZQZvWpefFlWr1ro%2FxMF%2FNvCX624%3D"
> >
> > > > > Let me know if you need any of the values I replaced with
> asterisks.
> >
> > > > > Thanks,
> >
> > > > > Carl
> >
> > > > > On Jun 30, 3:35 pm, Matt Harris <thematthar...@twitter.com> wrote:
> > > > > > Hi Carl,
> >
> > > > > > Could you share your base string and the post headers you are
> > > sending?
> > > > > (with
> > > > > > the oauth token and secret obscured) and we'll see what we can
> find.
> >
> > > > > > Thanks,
> > > > > > Matt
> >
> > > > > > On Wed, Jun 30, 2010 at 1:10 PM, cthress <c...@4thress.com>
> wrote:
> > > > > > > Matt,
> >
> > > > > > > I'm running into a different issue now. I'm using the same
> method
> > > for
> > > > > > > authentication as I would for user_timeline, but I'm getting an
> > > > > > > "incorrect signature" error returned to me when I try
> > > authenticating.
> > > > > > > When I run the same function with user_timeline as the
> endpoint, it
> > > > > > > works great. Any ideas?
> >
> > > > > > > Thanks,
> >
> > > > > > > Carl
> >
> > > > > > --
> >
> > > > > > Matt Harris
> > > > > > Developer Advocate, Twitterhttp://twitter.com/themattharris
> >
> > > > --
> >
> > > > Matt Harris
> > > > Developer Advocate, Twitterhttp://twitter.com/themattharris
> >
> > --
> >
> > Matt Harris
> > Developer Advocate, Twitterhttp://twitter.com/themattharris
>



-- 


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

Reply via email to