Re-tweets and replies with JTwitter
Posted
by Samuh
on Stack Overflow
See other posts from Stack Overflow
or by Samuh
Published on 2010-03-23T18:09:13Z
Indexed on
2010/04/01
15:33 UTC
Read the original article
Hit count: 343
I have not used Twitter enough to become familiar with its terminology or the way it works, so please help me in understanding the problem I have at hand.
I am getting last 20 status updates posted by some Twitter user via RSS feed, the feed XML is parsed and the statuses are displayed in a ListView. Which means that I have the original tweet in a String variable(row of ListView). When I click a ListView item, I get the option of "Re-tweeting" and "post reply".
As, I understand it, when re-tweeting I will have to just update my *status* as:
RT @orig-poster <original tweet>
and when posting a reply I will have to just update my status as:
@orig-poster <my tweet>
I skimmed through the JavaDocs of the Jwitter library(Twitter class) and found a setStatus(String)
method. I dont think I will have to make use of retweet() or reply() functions of the Twitter class in JTwitter library.
Is my understanding correct? Please correct me if I am wrong here or missing anything.
Thanks!
© Stack Overflow or respective owner