I'm trying to update the status of a user and then immediately retweet it. I can't figure out how to get the开发者_如何学Python ID of the status I just submitted though.
Any help would be greatly appreciated.
Are you doing a
twitter.updateStatus("Some String");
If so, this returns a Status, which has a getId() method
myStatus = twitter.updateStatus("Some String");
myId = myStatus.getId();
If not, please post your code.
精彩评论