Just as we do with Youtube, we should use a separate module for gathering the data from Twitter which could then be implemented as a public API for any wanted usage.
For now, Twitter data is gathered in the route function itself, which is not a good practice.
Just as we do with Youtube, we should use a separate module for gathering the data from Twitter which could then be implemented as a public API for any wanted usage.
For now, Twitter data is gathered in the route function itself, which is not a good practice.