开发者

Retweeting with ColdFusion and Twitter4j

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜