Search code examples
javatwittertwitter4j

Get translated data from twitter4j


I am using twitter4j API to stream twitter data, but there is a lot of data not in english.

I can translate the tweets on the UI but is there a way to get the translated text using the API.

Thank you.


Solution

  • Twitter's APIs offer no direct translation services. You will need to use an external service (which is exactly what Twitter does via the UI)