Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 twitter4j 使用 reply_id 流式传输所有状态,并(试图获取)他们正在回复的状态。所以我流了一堆状态,每一个都做:
Long replyID=status.getInReplyToStatusId();
但后来我不知道如何处理我的replyID变量来实际找到相关的推文。
replyID
(我对 twitter4j 和 Twitter API 非常非常陌生)
谢谢
您可以使用 replyId 来获取实际的推文,例如:
状态推文 = twitter.showStatus(parent);
顺便说一句,当您说“使用 reply_id 流式传输所有状态”时,您是什么意思,您能详细说明一下吗?