REST API v1
It is possible to reply to a tweet. Is it also possible to see all replys to a tweet?
Yes send the in_reply_to_status_id parameter with the id of the tweet being replied to against the statuses/update endpoint (https://dev.twitter.com/docs/api/1/post/statuses/update).
I'm not aware of an API that gets all of the replies but you can query each one individually.
When reading the first tweet from statuses/show, read the in_reply_to_status_id field, then send that to statuses/show and repeat.
Thanks for your answer.
The method you give me let me search up to parent tweets, to but i need to serach down to child tweets. To the replys. The twitter web also shows replys to a tweet. Do i need to add a screenshot here?
We don't have a supported API for reading the conversation tree for a specific tweet at this time. However, this post from the old google group ( http://groups.google.com/group/twitter-development-talk/browse_thread/thread/cdc34ae78a2350b8 ) details a method called GET statuses/related_results that is an experimental API.
By experimental API, this means that until we officially document it on dev.twitter.com, it's not necessarily production-ready and could be unstable both in the parameters it takes and the format of its responses. It also may just disappear one day.
As for related_results itself, it won't necessarily return every reply for a tweet nor are its responses necessarily limited to just replies. That said, for your own personal use or experimentation you may find some utility in the method. If you choose to use it in any software you're developing, I would proactively wrap its use with significant exception handling.
Thanks, ill try that one!
@episod any update to this? It's a fairly critical service.
I've spent the last hour or so testing GET related_replies and have found it to be (as expected) unreliable and limited. It doesn't always get any related results (even when I replied to a tweet and got someone else to reply too, related_replies on all of them returned nothing), and on the rare occasions it does it only tends to get two tweets.
Interestingly if you add include_entities=0 to the end of the query string it returns annotations data which I believe is only supposed to be public to devs with accounts that support it. Whether or not it's of any use I have no idea.
It'd be great to have a nice simple way of getting all replies/related activity to a tweet. I'm holding out until there's a supported solution before I take the time to implement it though.
After doing some searching it appears that the first request for this feature occurred in 2008!
And yet Twitter STILL hasn't gotten around to implementing it yet despite repeated requests on various bug-trackers, lists and forums, the best they have done is the above mentioned experimental API call which doesn't do what we want anyway.
I think we can safely say anyone holding their breath for this feature should have a good life insurance policy.
Shame since it would be such an immensely useful feature; after 4 years I can only assume they are not implementing it for commercial reasons.
This seems so simple. Is this fixed yet?
what about using "statuses/mentions" for all mentions and filter them by [in_reply_to_status_id] using the ID of the "parent" post? of course that only works if the replies are always mentions with the @username stuff in it. but if they dont have that, they can hardly be called replies right?
let me know if you think there is something wrong with that approach please, because i am about to implement it that way. thx!
it seems that statuses/mentions retrieves only my mentions (the mentions of the autenticated user) and not the specific user mentions.
ohw, i see. that makes sense somehow thx for letting me know. i think for my purpose it should be good enough anyway.
This is not supported on api v1.1. Any alternatives?
i want reply to particular tweet using api in c# anyone help which api should i use,but without going to twitter.com and also it is not being asked for login....plz help i need it urgently.
all i want is to be rewarded.
my tweets when just like its done here.
i like it here very very very much.
Is it possible to reply to a tweet using rest api v1.1. If yes can any one provide me the exact url.
This is why I've never really used twitter. I don't really get it...
next page →