Thanks Dana, it worked. Any chance you will be fixing the documentation? http://dev.twitter.com/doc/post/favorites/:id/create. Note also it is impossible to do this api request using the online api console.
Jim

On 6/8/10 5:13 PM, Dana Contreras wrote:
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 <mailto: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