java - Get only NON reply tweets from Spring Tweet API -
i want tweets of home timeline not tweets made reply (not retweet) on other tweet. crawled whole spring twitter api not find way check if tweet object reply tweet or @ least retrieve tweets not reply.
tweet class has boolean getter:
boolean isfavorited() boolean isretweet() boolean isretweeted()
now miss boolean isreply()
has idea how check or retrieve non-reply tweets?
edit: using spring-social can use tweet.getinreplytouserid()
check if value null, in case, tweet it's not reply.
here have operations of class tweet.
old: can check property in_reply_to_screen_name
or in_reply_to_status_id
example. if null, tweet it's not reply.
here can see properties.
Comments
Post a Comment