[twitter-dev] Destroying/Undoing Retweet

2010-12-20 Thread Mike
Hello,

If i try to run 'statuses/destroy' on a status I retweeted, I get the
error You may not delete another user's status.

I've searched around and found this bug:
http://code.google.com/p/twitter-api/issues/detail?id=1274

I see no replies though whether there are plans to implement an easy
way to grab the Retweet ID.

Can someone confirm or deny that this is in the works right now? Or if
I'm just doing something wrong?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Destroying/Undoing Retweet

2010-12-20 Thread Matt Harris
Hi Mike

This feature is supported as documented in that ticket.
To find the right status ID you can call a timeline method with the
parameter include_my_retweet=1.

The include_my_retweet parameter will cause a new datapoint
current_user_retweet to be included in the status if the current user has
retweeted it. This datapoint contains the status ID of the retweet the
authenticating user created. This is the status ID to destroy if you wish to
undo the retweet. If the element is not included it means the user you are
OAuthing with hasn't retweeted that status.

Example:
current_user_retweet: {
  id: 26815871309,
  id_str: 26815871309
},

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Dec 20, 2010 at 10:48 AM, Mike under619ta...@gmail.com wrote:

 Hello,

 If i try to run 'statuses/destroy' on a status I retweeted, I get the
 error You may not delete another user's status.

 I've searched around and found this bug:
 http://code.google.com/p/twitter-api/issues/detail?id=1274

 I see no replies though whether there are plans to implement an easy
 way to grab the Retweet ID.

 Can someone confirm or deny that this is in the works right now? Or if
 I'm just doing something wrong?

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk