Is there a way to get all tweets in one conversation? Just like what "View conversation" button does for normal user?


#1

Hi Guys, I am a fresh Phd student.
Doing text analysis on twitter is an very interesting topic! For my project I want to get all tweets text in one conversation. Is there a way to do that with API? Or I must crawl the pages by myself? Thanks!


View Conversations- API Support
#2

Hello! Have you had the solution? I have the same question with you and still don’t know how to get it. Thanks.


#3

You want to access the conversation endpoints. This endpoint is private and can only be used with Twitter private keys,
So usually people approach this problem with 2 mindsets :

  • Use the keys from Twitter (which I am sure is not authorized)
  • Crawl the twitter.com pages as @gstar2002 mentioned (this might not be authorized too)

@twitter, @andypiper @jaakkosf @jbulava We discussed about having the conversation endpoints being made public. Why do people still have to use such extreme alternatives to access such simple information?


#4

There is no API access to conversations at this time.

Scraping/crawling the website is prohibited by the Twitter Terms of Service.

You should absolutely not use any application keys that are not your own / owned by your account to access any resources. This is against our developer policy.

We understand that having a public API endpoint for access to conversation metadata is a long-standing request from the developer community, however, this has not yet been prioritised as something we plan to make available in the immediate future. I’d love to have it happen at some stage, as I would with some of the others.

As I’ve explained in other threads in the past, making an endpoint available is not as simple as “just” opening up access to everyone - we need to think about how the endpoint would be used, get it documented, and have it supported and load tested etc.

@gstar2002 the usual way that I’d recommend doing what you want would be to use something like the search API to find replies to the Tweet.