开发者

Retweeting with ColdFusion and Twitter4j

开发者 https://www.devze.com 2023-01-17 06:19 出处:网络
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.

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

精彩评论

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