I am developing an app in which I first list tweets from an account (using HttpClient and so, I'd rather not use twitter4j).
When the user click on a tweet from the list all the content is shown, and I'd like to have a button to be able to reply to that tweet.
I've succesfully managed to let the user send a tweet through the native Twitter app. However, it doesn't associate that response to the original tweet, it is presented just as a new tweet.
Here's the code I'm using:
String tweetUrl = "https://twitter.com/intent/tweet?text=EXAMPLE TEST&url=https://www.google.com&in_reply_to_status_id=STATUS ID";
Uri uri = Uri.parse(tweetUrl);
startActivity(new Intent(Intent.ACTION_VIEW, uri));
If I put the same url in a web browser, it handles the reply correctly, so I guess this is a problem of the native app not getting all the parameters correctly.
Does anybody know how this could be solved? Thanks in advance!