{"id":22096680,"url":"https://github.com/prdpx7/tweep","last_synced_at":"2025-03-24T01:17:50.672Z","repository":{"id":57382594,"uuid":"88523600","full_name":"prdpx7/Tweep","owner":"prdpx7","description":"https://twitter.com/TimFederle/status/659798794863775744","archived":false,"fork":false,"pushed_at":"2018-02-21T09:40:35.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T07:02:01.151Z","etag":null,"topics":["node-module","twitter"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/prdpx7.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":"2017-04-17T15:46:07.000Z","updated_at":"2023-03-04T08:52:21.000Z","dependencies_parsed_at":"2022-09-01T04:40:49.536Z","dependency_job_id":null,"html_url":"https://github.com/prdpx7/Tweep","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdpx7%2FTweep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdpx7%2FTweep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdpx7%2FTweep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdpx7%2FTweep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prdpx7","download_url":"https://codeload.github.com/prdpx7/Tweep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245191590,"owners_count":20575250,"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","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":["node-module","twitter"],"created_at":"2024-12-01T04:12:07.002Z","updated_at":"2025-03-24T01:17:50.649Z","avatar_url":"https://github.com/prdpx7.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tweep\n\n\u003e helper node module for\n\n[![tweet](screenshot.png)](https://twitter.com/TimFederle/status/659798794863775744)\n\n[![MITlicensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/prdpx7/tweep/master/LICENSE)\n\n[Get Twitter CONSUMER KEYS \u0026 ACCESS TOKENS](https://apps.twitter.com/)\n\n## Install\n```\n$ npm install --save tweep\n$ #better save these tokens in ~/.bashrc or ~/.zshrc \n$ export TWITTER_CONSUMER_KEY=xxxxxxx\n$ export TWITTER_CONSUMER_SECRET=xxxxxxx\n$ export TWITTER_ACCESS_TOKEN_KEY=xxxxxx\n$ export TWITTER_ACCESS_TOKEN_SECRET=xxxxx\n```\n## Usage\n```js\n// articles or link shared in user's tweets  and retweets will get fetched, also twitter moments will also included\nconst tweep = require('tweep');\n// shared_article_limit totally depends on fetched tweets,you can put 100 but if user haven't shared 100 articles you won't get your desired result\n// tweep('twitter_user_name',shared_article_limit)\ntweep('zuck_007',5)\n    .then(resp =\u003e {\n        console.log(resp);\n        /*\n      { user: 'https://twitter.com/zuck_007',\n        shared_articles: \n         [  {   tweet_url: 'https://twitter.com/JavaScriptDaily/status/847103438056030209',\n                article_url: 'https://twitter.com/i/moments/847043675364507648' },\n            {   tweet_url: 'https://twitter.com/zuckXbot/status/844949447469666307',\n                article_url: 'http://bit.ly/2mwxwlK' },\n            {   tweet_url: 'https://twitter.com/ShashiTharoor/status/839498552015388672',\n                article_url: 'https://www.theguardian.com/world/2017/mar/08/india-britain-empire-railways-myths-gifts' },\n            {   tweet_url: 'https://twitter.com/zuckXbot/status/836803582154375173',\n                article_url: 'http://bit.ly/2mrlppB' },\n            {   tweet_url: 'https://twitter.com/ThePracticalDev/status/836732719740694529',\n                article_url: 'https://twitter.com/i/moments/836725412130598913' } \n        ] \n      }\n\n        */\n    });\ntweep('nobodyShouldUseThisUsernameOtherwiseBuildWillFail',10)\n    .then(resp =\u003e {\n        console.log(resp);\n        /*\n        [ { code: 34, message: 'Sorry, that page does not exist.' } ]\n\n        */\n    });\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprdpx7%2Ftweep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprdpx7%2Ftweep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprdpx7%2Ftweep/lists"}