{"id":23067383,"url":"https://github.com/dinushchathurya/expressjs-facebook-login","last_synced_at":"2026-04-14T19:32:51.018Z","repository":{"id":99309204,"uuid":"311016352","full_name":"dinushchathurya/expressjs-facebook-login","owner":"dinushchathurya","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-10T12:41:39.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T12:56:54.663Z","etag":null,"topics":["exprees-facebook","express","expressjs","node-auth","node-authentication-api","node-express-passport","node-js","node-social-login","nodejs","passport","social-authentication","social-login"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dinushchathurya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-08T08:22:21.000Z","updated_at":"2020-11-11T06:21:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc4a4414-1410-44d8-8f85-4949cb4c68af","html_url":"https://github.com/dinushchathurya/expressjs-facebook-login","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dinushchathurya/expressjs-facebook-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Fexpressjs-facebook-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Fexpressjs-facebook-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Fexpressjs-facebook-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Fexpressjs-facebook-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinushchathurya","download_url":"https://codeload.github.com/dinushchathurya/expressjs-facebook-login/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinushchathurya%2Fexpressjs-facebook-login/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31812968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["exprees-facebook","express","expressjs","node-auth","node-authentication-api","node-express-passport","node-js","node-social-login","nodejs","passport","social-authentication","social-login"],"created_at":"2024-12-16T05:16:52.088Z","updated_at":"2026-04-14T19:32:51.008Z","avatar_url":"https://github.com/dinushchathurya.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Facebook Authentication with Passport \n\nIn here, I have created Facebook authentication with Passport and Node.js. \n\n## Requirements\n\n* Node.js\n\n## Credentials\n\nFacebook Credentials can be obtained from the Facebook for Developers portal\n\n* Visit https://developers.facebook.com/\n* Open the \"My Apps\" dropdown and select \"Add a New App\"\n* Give the App a name and sleect \"Create App ID\"\n* Select \"Facebook Login\" from the \"Select a Product\" page, and then select \"Web\"\n* You might have to select \"Add Product\" on the sidebar to get here\n* Enter a Site URL of \"http://localhost:3000\" and save this\n* Select \"Settings\" under \"Facebook Login\" on the sidebar\n* Enter \"http://localhost:3000/api/authentication/facebook/redirect\" in the \"Valid OAuth redirect URIs\" box and save this\n* Select \"Dashboard\" in the sidebar, and write down the App ID and App Secret.\n\nWhen you run the application, you will first need to set the environment variables FACEBOOK_CLIENTID and FACEBOOK_CLIENTSECRET to the App ID and App Secret you have just obtained.\n\n## Run this Application\n\nTo run this application, \n\n* clone this repository `git clone https://github.com/dinushchathurya/expressjs-facebook-login` \n\n* Then `cd expressjs-facebook-login`\n\n* Run `npm install`\n\n* Then goto \".env\"\n\n* Paste your IDs on their\n\n* Then run `node server.js`\n\n* Then visit \"http://localhost:3000\"\n\n## Contact\n\nFor further more clarifications or regarding any issues, please contact me via my E-Mail.\n\n## License\n\nCopyright (c) 2020 \u003ca href=\"https://dinushchathurya.github.io/\"\u003eDinush Chathurya\u003c/a\u003e and \u003ca href=\"https://codingtricks.io/\"\u003ecodingtricks.io\u003c/a\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n## Blog\n\nhttps://codingtricks.io/\n\n## \n\n\u003cp \u003e\u003ch2 align=\"center\"\u003eHappy\u003ci class=\"fa fa-heart\" style=\"color:red;\"\u003e\u003c/i\u003e Coding\u003ci class=\"fa fa-code\" style=\"color:orange;\"\u003e \u003c/i\u003e\u003c/h2\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinushchathurya%2Fexpressjs-facebook-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinushchathurya%2Fexpressjs-facebook-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinushchathurya%2Fexpressjs-facebook-login/lists"}