Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Collector Script to Retrieve and Transmit Tweet Details upon Server Request #10

Closed
hoblin opened this issue Oct 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@hoblin
Copy link
Owner

hoblin commented Oct 6, 2023

Is your feature request related to a problem? Please describe.
Currently, when a new tweet is added to the tracking pool, the server only receives the tweet URL from the user. When the server receives statistics for this newly added tweet, it lacks information about the tweet other than its URL.

Describe the solution you'd like
Upon receiving the first batch of statistics for a newly added tweet, the server should respond to the collector script with a request to retrieve the tweet's details. The collector script should then fetch the tweet author's name and the tweet text, and transmit this information back to the server during the next stats update request.

Describe alternatives you've considered
An alternative solution could be to have the server fetch the tweet details directly from Twitter upon receiving the first stats update for a new tweet. However, this may require additional permissions and could be less efficient compared to utilizing the already active collector script on the client-side.

Additional context
Having the tweet details will enable a richer representation of the tracked data on the platform, allowing users and visitors to understand the context of the statistics being displayed.

@hoblin hoblin added the enhancement New feature or request label Oct 6, 2023
@hoblin
Copy link
Owner Author

hoblin commented Oct 8, 2023

Implemented in #34

@hoblin hoblin closed this as completed Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant