{"id":13904906,"url":"https://github.com/oduwsdl/tweetedat","last_synced_at":"2025-10-10T11:37:41.787Z","repository":{"id":149656481,"uuid":"194465350","full_name":"oduwsdl/tweetedat","owner":"oduwsdl","description":"TweetedAt tells the time of a tweet based on its tweet id","archived":false,"fork":false,"pushed_at":"2025-10-02T14:21:43.000Z","size":234,"stargazers_count":54,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-02T15:24:45.823Z","etag":null,"topics":["html","javascript","snowflake","snowflake-twitter","tweet-time","tweetedat","twitter"],"latest_commit_sha":null,"homepage":"https://oduwsdl.github.io/tweetedat/","language":"HTML","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/oduwsdl.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-06-30T02:04:10.000Z","updated_at":"2025-10-02T14:21:47.000Z","dependencies_parsed_at":"2023-05-05T09:03:54.289Z","dependency_job_id":null,"html_url":"https://github.com/oduwsdl/tweetedat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oduwsdl/tweetedat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oduwsdl%2Ftweetedat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oduwsdl%2Ftweetedat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oduwsdl%2Ftweetedat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oduwsdl%2Ftweetedat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oduwsdl","download_url":"https://codeload.github.com/oduwsdl/tweetedat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oduwsdl%2Ftweetedat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003712,"owners_count":26083610,"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-10-10T02:00:06.843Z","response_time":62,"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":["html","javascript","snowflake","snowflake-twitter","tweet-time","tweetedat","twitter"],"created_at":"2024-08-06T23:01:05.927Z","updated_at":"2025-10-10T11:37:41.781Z","avatar_url":"https://github.com/oduwsdl.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# TweetedAt\n\n[TweetedAt](https://oduwsdl.github.io/tweetedat/) extracts date and time from the Tweet ID by reverse-engineering [Twitter Snowflake](https://blog.twitter.com/engineering/en_us/a/2010/announcing-snowflake.html).\n\n[1] Mohammed Nauman Siddique and Sawood Alam. 2019. TweetedAt: Finding Tweet Timestamps for Pre and Post Snowflake Tweet IDs. (August 2019). Retrieved July 25, 2020 from https://ws-dl.blogspot.com/2019/08/2019-08-03-tweetedat-finding-tweet.html\n\n## Why not check on Twitter directly?\n\n* It is the only web service that allows users to find the timestamp of the Snowflake Tweet IDs and estimate Tweet timestamps for pre-Snowflake Tweet IDs.\n* Twitter developer API has [access rate limits](https://developer.twitter.com/en/docs/basics/rate-limits). It acts as a bottleneck in finding timestamps over a data set of Tweet IDs. This bottleneck is not present in TweetedAt because we do not interact with Twitter's developer API for finding timestamps. \n* [Deleted]((https://help.twitter.com/en/using-twitter/delete-tweets)), [suspended](https://help.twitter.com/en/managing-your-account/suspended-twitter-accounts), and [protected](https://help.twitter.com/en/safety-and-security/public-and-protected-tweets) Tweets do not have their metadata accessible from Twitter's developer API. TweetedAt is the solution for finding the timestamps of any of these inaccessible Tweets. \n\n## Repo Content Description\n```bash\n .\n ├── script                     \n │  ├── TimestampEstimator.py   # Script file \n ├── data                           \n │  ├── TweetTimeline.txt       # Contains list of Tweet IDs and timestamps for pre-Snowflake IDs used in timestamp estimation\n │  ├── TweetTimelineList.txt   # Contains the TweetTimeline.txt data as list of lists \n │  ├── testerror.csv           # Shows the result of error on test set\n │  ├── testset.txt             # Contains test set of Tweet IDs and their timestamps \n │  └── WeirdUrls.txt           # Lists all pre-Snowflake Twitter URLs which didn't resolve to 200 after chasing the redirect location \n ├── index.html                 # TweetedAt implementation\n ├── LICENSE\n └── README.MD\n ```\n## Python Script: TimestampEstimator.py\n\nThe script can be used for:\n\n* Finding the timestamp of any Snowflake ID or estimating timestamp of any pre-Snowflake ID\n* Creating a test set of pre-Snowflake IDs\n* Calcualting error of the test set\n\n### Using CLI Version of Python Script\n\n* Option -h: for help \n```bash\n$  ./TimestampEstimator.py -h\nusage: TimestampEstimator.py [-h] [-s [TESTSET ...] | -d [DATASET] | -e | -t TIMESTAMP]\n\nCreate a pre-Snowflake Tweet ID dataset based on threshold value, Find timestamp of any pre or post Snowflake Tweet ID, Create Pre-\nSnowflake Twitter test dataset and check errors on them\n\noptions:\n  -h, --help        show this help message and exit\n  -s [TESTSET ...]  Create test set with argument of start, end Tweet ID, and no. of data points\n  -d [DATASET]      Create a dataset with argument of theshold value in seconds\n  -e                Check error on pre-Snowflake ids\n  -t TIMESTAMP      Find timestamp of any Tweet ID\n\n```\n* Option -t: for finding timestamp of a Tweet ID\n\n```bash\n$ ./TimestampEstimator.py -t 20\n```\n* Option -d: for creating pre-Snowflake data set for estimating timestamp. It accepts the threshold value in seconds. When no parameter is supplied, it creates a weekly data set.\n\nFor creating daily data set\n\n```bash\n$ ./TimestampEstimator.py -d 24*60*60\n```\n* Option -s: For creating test set. It accept start tweet ID, end tweet ID,number of test data points, and data point interval as parameters.\n\nFor creating a weekly data set of 10 tweet IDs between tweet ID 20 and 1000\n\n```bash\n$ ./TimestampEstimator.py -s 20 1000 10 7\n```\n\nFor creating random data set of 100 points between tweet ID 20 and 1000\n\n```bash\n$ ./TimestampEstimator.py -s 20 1000 10 7\n```\n* Option -e: Calculates error csv file of the test set\n```bash\n$ ./TimestampEstimator.py -e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foduwsdl%2Ftweetedat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foduwsdl%2Ftweetedat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foduwsdl%2Ftweetedat/lists"}