Hi Taylor, Thanks for the prompt reply
consumer key = vfM8qYNAEBfZsofKDNX65Q consumer secret = fwBTEa4GRCPkszO26ma5mFLi1aInV82JTxJWbuL26g token key = 13073932-seUruGITdpHxCJsoUhpjectP4hpdRubW62Q7nftyA token secret = Y0cXVWuoymSiVRRhFMpCoHqQuJ2BxNSjRqotpRZx0 thanks -chiu On Jun 16, 12:35 pm, Taylor Singletary <[email protected]> wrote: > Can you share your signature base string that was used to create this > request? > > I also highly recommending using HTTP Header-based OAuth instead of > query-string based OAuth. It separates concerns and makes debugging much > simpler. > > Taylor Singletary > Developer Advocate, Twitterhttp://twitter.com/episod > > On Wed, Jun 16, 2010 at 11:44 AM, chiu ming luk <[email protected]>wrote: > > > The xAuth - favorites/create - is broken > > > I make calls to - favorites/create with an ID parameter using "xAuth" > > > $response = $connection->get ( 'favorites/create', array ('id' => > > $status_id ) ); > > > but I always getting 401 "Not authorized" Error > > > =========================================== > > /1/favorites/create.json? > > > id=16170711730&oauth_consumer_key=vfM8qYNAEBfZsofKDNX65Q&oauth_nonce=bde7b35f5206ebc8a2cc31a7ea2b86ac&oauth_signature=V6%2BeC7%2FODp42W6GPV4EDWNpvSqY > > %3D&oauth_signature_method=HMAC- > > SHA1&oauth_timestamp=1276713005&oauth_token=13073932- > > seUruGITdpHxCJsoUhpjectP4hpdRubW62Q7nftyA&oauth_version=1.0 > > =========================================== > > > On the other hand, The exact same request using "Basic > > Authentication", It will work fine. I either getting > > - You have already favorited this status. > > - Favorites added > >
