A REST API that enables users to fetch information details of fanpage Facebook.
npm install
npm run dev
Demo: https://puppeteer-tool.herokuapp.com/?url=https://www.facebook.com/HelloCoffee125/
Change https://www.facebook.com/HelloCoffee125/
to another Fanpage URL for testing.
Download Heroku CLI and create an account.
Create an app: heroku create [Appname]
.
Run heroku buildpacks:add jontewks/puppeteer
in order to run puppeteer on heroku. Be sure to include { args: ['--no-sandbox'] }
in your call to puppeteer.launch
.
After commit changes, you can push code to heroku: git push heroku master
.