{"id":30382101,"url":"https://github.com/heathd/twitter_thread_getter","last_synced_at":"2025-08-20T22:57:34.122Z","repository":{"id":48713426,"uuid":"277093235","full_name":"heathd/twitter_thread_getter","owner":"heathd","description":"Given a tweet ID gets replies to that tweet and counts up all the links referenced in those tweets","archived":false,"fork":false,"pushed_at":"2022-10-06T15:12:58.000Z","size":11,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-11T11:57:01.779Z","etag":null,"topics":["ruby","twitter"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heathd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-04T11:05:00.000Z","updated_at":"2021-01-09T08:43:31.000Z","dependencies_parsed_at":"2023-01-19T12:47:45.255Z","dependency_job_id":null,"html_url":"https://github.com/heathd/twitter_thread_getter","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/heathd/twitter_thread_getter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heathd%2Ftwitter_thread_getter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heathd%2Ftwitter_thread_getter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heathd%2Ftwitter_thread_getter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heathd%2Ftwitter_thread_getter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heathd","download_url":"https://codeload.github.com/heathd/twitter_thread_getter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heathd%2Ftwitter_thread_getter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271400243,"owners_count":24752829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ruby","twitter"],"created_at":"2025-08-20T22:57:23.319Z","updated_at":"2025-08-20T22:57:34.107Z","avatar_url":"https://github.com/heathd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter Thread Getter\n\nGiven a tweet ID this script will:\n\n1. fetch all replies to that thread using the twitter API\n2. resolve any t.co urls to the original url\n3. fetch the referenced URLS and extract the Title page (or title from meta tag for Youtube urls)\n4. collate stats about the referenced urls counting up how many times each url is referenced, and also recording the twitter handles of people who referenced each url\n\nLogging output is sent to STDERR\n\nProgram output is sent to STDOUT in the form of a CSV file\n\n## Dependencies\n\n- ruby\n- `t` gem (`gem install t`)\n\n## Authentication\n\nYou must authenticate to twitter using the `t` command line program to set up your twitter credentials. See https://github.com/sferik/t#configuration for details\n\n## Usage\n\n```\n$ ./bin/collate_stats 1278537744352862208 \u003e stats.csv\nI, [2020-07-04T12:02:22.400613 #80901]  INFO -- : Fetching tweets...\nI, [2020-07-04T12:02:22.838022 #80901]  INFO -- : Collating tweets in 20 threads\n\n```\n\n## Errors\n\nIf you exceed your rate limit you may get\n\n```\n...request.rb:97:in `fail_or_return_response_body': Rate limit exceeded (Twitter::Error::TooManyRequests)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheathd%2Ftwitter_thread_getter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheathd%2Ftwitter_thread_getter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheathd%2Ftwitter_thread_getter/lists"}