java - How to test whether a tweet is the initiating tweet, instead of retweet in twitter4j? -
i want whether tweet initiating tweet, instead of re-tweet. how know in twitter4j after "status" object? status.getinreplytouserid() return null
? thanks.
oh, printed out return values. , found out post have following value: replytostatusid:-1; inreplytoscreenname: null; inreplytouserid:-1. assume tweet initating tweet.
Comments
Post a Comment