Skip to content

raabbajam/facebook-quote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Quote

Using quote api to post daily facebook status

How to use

git clone https://github.com/raabbajam/facebook-quote.git
cd facebook-quote
npm i
echo "FACEBOOK_TOKEN=YOUR_ACTIVE_ACCESS_TOKEN" > .env
node .
#write out current crontab
crontab -l > mycron
#echo new cron into cron file
#set daily job except on sunday
echo "30 15 * * 1-6 node `pwd`" >> mycron
#install new cron file
crontab mycron
rm mycron

About

Using quote api to post daily facebook status

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published