{"id":18539044,"url":"https://github.com/simov/passport-stocktwits","last_synced_at":"2025-05-15T02:13:46.580Z","repository":{"id":57320312,"uuid":"14858834","full_name":"simov/passport-stocktwits","owner":"simov","description":"Stocktwits authentication strategy for Passport and Node.js","archived":false,"fork":false,"pushed_at":"2013-12-02T10:15:31.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T11:42:30.056Z","etag":null,"topics":[],"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/simov.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":"2013-12-02T10:02:05.000Z","updated_at":"2013-12-02T10:35:05.000Z","dependencies_parsed_at":"2022-08-26T01:10:54.351Z","dependency_job_id":null,"html_url":"https://github.com/simov/passport-stocktwits","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/simov%2Fpassport-stocktwits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Fpassport-stocktwits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Fpassport-stocktwits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Fpassport-stocktwits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simov","download_url":"https://codeload.github.com/simov/passport-stocktwits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259444,"owners_count":22040822,"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":[],"created_at":"2024-11-06T19:45:58.699Z","updated_at":"2025-05-15T02:13:46.557Z","avatar_url":"https://github.com/simov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n#passport-stocktwits\n\n```bash\n$ npm install passport-stocktwits\n```\n\n```js\nvar passport = require('passport'),\n    StockTwitsStrategy = require('passport-stocktwits').Strategy;\n\npassport.use(new StockTwitsStrategy({\n        clientID: '___',\n        clientSecret: '___',\n        callbackURL: 'http://localhost:3000/connect/stocktwits/callback',\n        passReqToCallback: true\n    }, function (req, token, secret, profile, done) {\n        console.log(token);\n        console.log(profile);\n        done();\n    }\n));\n\napp.get('/connect/stocktwits', passport.authorize('stocktwits',\n    {scope: ['read','watch_lists','publish_messages','publish_watch_lists',\n    'follow_users','follow_stocks'], failureRedirect:'/', successRedirect:'/'}));\n\napp.get('/connect/stocktwits/callback', passport.authorize('stocktwits',\n    {failureRedirect:'/', successRedirect:'/'}));\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Fpassport-stocktwits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimov%2Fpassport-stocktwits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Fpassport-stocktwits/lists"}