[twitter-dev] cannot add status to favories with API

2010-03-10 Thread Dmitri Snytkine
Hello!
I want to add a status to another user's favories but apparantly the
api cannot do that.

I want to add message created by one user to favorites of another
user.

When doing it from api it refuses to add favorite probably because the
status id was not created by the same user to whom I want to add this
favorite.

I am looking at instructions here
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-favorites%C2%A0create

It does not let you specify the username of status creator.

I am using this url with a POST method:

http://api.twitter.com/1/favorites/create/2147483647.json

The status 2147483647 was created by different user (not the same user
to whom I want to add this to favorite)

but then getting this error 404 with this message:
{request:/1/favorites/create/2147483647.json,error:Not found}

How can I change the request in order for this to work?


Re: [twitter-dev] cannot add status to favories with API

2010-03-10 Thread Abraham Williams
There is no status with that ID:
https://api.twitter.com/statuses/show/2147483647.xml

Abraham

On Wed, Mar 10, 2010 at 12:41, Dmitri Snytkine d.snytk...@gmail.com wrote:

 Hello!
 I want to add a status to another user's favories but apparantly the
 api cannot do that.

 I want to add message created by one user to favorites of another
 user.

 When doing it from api it refuses to add favorite probably because the
 status id was not created by the same user to whom I want to add this
 favorite.

 I am looking at instructions here
 http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-favorites%C2%A0create

 It does not let you specify the username of status creator.

 I am using this url with a POST method:

 http://api.twitter.com/1/favorites/create/2147483647.json

 The status 2147483647 was created by different user (not the same user
 to whom I want to add this to favorite)

 but then getting this error 404 with this message:
 {request:/1/favorites/create/2147483647.json,error:Not found}

 How can I change the request in order for this to work?




-- 
Abraham Williams | Community Advocate | http://abrah.am
TwitterOAuth | http://github.com/abraham/twitteroauth
This email is: [ ] shareable [x] ask first [ ] private.