Search code examples
apitwitternlp

Get the most used combination of words on social networks


I want to know if there is a way ( an API or an online tool) that gives for an entred word a list of most used together words on twitter or any social media


Solution

  • The volume of tweets is so large that to get a 100% accurate reading would be computationally expensive and impractical. That said, Twitter does have a Sample Stream, which is a random real-time sampling of tweets. My assumption is that might approximate what's happening in real-time and you could measure words that occur in a specific time frame.

    If you were looking for words coinciding with another word, you could also use the Filter Stream. e.g. Filter on "trump" to get all the associated words. Additionally, you use the Search API on "trump", though those results will only go back 2 weeks and aren't comprehensive.