Skip to main content

Posts

Showing posts from August, 2020

Building a Post Scheduler for Facebook Pages with Node.js and React

 In this tutorial, we are building a Post Scheduler for Facebook pages. We’ll start off by creating an Express.js web server and use Passport.js to authenticate users with Facebook. After setting up authentication, we’ll build a react app to provide users with an interface to schedule text and images posts for Facebook pages. Getting Started Let’s start by initializing a package.json file by running npm init in your working directory and add these dependencies. "dependencies": {   "body-parser": "^1.13.2",   "config": "^1.30.0",   "connect-ensure-login": "^0.1.1",   "cookie-parser": "^1.3.5",   "ejs": "^2.3.3",   "express": "^4.13.1",   "express-fileupload": "^0.4.0",   "express-session": "^1.11.3",   "mongoose": "^5.1.4",   "morgan": "^1.6.1",   "passport": "^0.2.