You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Timeline iterates MessageEntry(super class of TwitterTweet object that stores tweet's data) objects.
Issue
MessageEntry is specialized for TwitterTweet, so it can't be used for other scrapers. So Post class is used to solve the purpose. All Scraper objects store different type of data, so Timeline can't be used to iterate the objects of other scrapers. For that more generalized Post objects shall be iterated instead of MessageEntry object.
I want to propose to refractor the Timeline.java code to be able to iterate Posts objects.
EDIT 1: Added more explaination
The text was updated successfully, but these errors were encountered:
At present
Timeline iterates MessageEntry(super class of TwitterTweet object that stores tweet's data) objects.
Issue
MessageEntry is specialized for TwitterTweet, so it can't be used for other scrapers. So Post class is used to solve the purpose. All Scraper objects store different type of data, so Timeline can't be used to iterate the objects of other scrapers. For that more generalized Post objects shall be iterated instead of MessageEntry object.
I want to propose to refractor the Timeline.java code to be able to iterate Posts objects.
EDIT 1: Added more explaination
The text was updated successfully, but these errors were encountered: