Hi Jim,

Change the URL to
https://api.twitter.com/1/favorites/create/15738870223.json and it should
work.

On Tue, Jun 8, 2010 at 5:04 PM, Jim Cortez <j...@jimcortez.com> wrote:

> Hi all,
>    I am having trouble with setting favorites through the oAuth API (with
> xAuth). Must other api's work (exception being blocks/exists, see previous
> emails).
>
> Here is an example request:
>
> location: https://api.twitter.com/1/favorites/15738870223/create.json
> authorizationHeader: OAuth oauth_consumer_key="<snip>",
> oauth_nonce="<snip>", oauth_signature="<snip>",
> oauth_signature_method="HMAC-SHA1", oauth_timestamp="1276041800",
> oauth_token="<snip>", oauth_version="1.0",
> postData: id=15738870223
>
> responseData:
> {"request":"/1/favorites/15738870223/create.json","error":"Not found"}
>
> Now on the web, this is fine:
> http://twitter.com/twitterapi/status/15738870223
>
> I tried removing the id as post data, but then I got an invalid signature
> error. Any ideas?
> Thanks,
> Jim Cortez
>



-- 
Dana Contreras
Twitter Platform Team
http://twitter.com/DanaDanger

Reply via email to