This is a feature that automatically posts on Facebook pages using Google Spreadsheets.
git clone https://github.com/JustinChoi21/fb-page-post-with-google-sheets.git
composer install
- Google API Authorization
- Facebook API Authorization
- Facebook App review
$ php start.php post_immediately `google-spreadsheet-id` `tab_name!range` `facebook-page-id`
Ex) $ php start.php post_immediately 1mnDNHHeJAwDUrlM6n-Hi9xxMkhXTGrikNWKj0db-DAU usa!A7:E 258256297965103
You can schedule with the crontab or cron-job.org.
- Google APIs Console
- Google API Client Libraries PHP
- Google Spreadsheets and PHP - twilio Blog
- G Suite PHP Samples
- Facebook Developer Console
- Facebook SDK for PHP (v5)
- Getting started with the Facebook SDK for PHP
- PHP Facebook SDK 시작하기
- Graph API page reference
- Page API 시작하기
- Graph API Explorer, 그래프 API 탐색기
- Instagram API 연동하기 - Medium Blog
- How to get you Facebook app approved after the April/May 2018 Facebook app restrictions? - Youtube
- HOW DO I SETUP A FACEBOOK APP, TO ALLOW ME TO POST AUTOMATICALLY TO FACEBOOK (FOR FBOMATIC)?
- Fork this repository
git clone https://github.com/JustinChoi21/fb-page-post-with-google-sheets.git
- Create new branch
git checkout -b foo/bar
- Commit changes
git commit -am 'fix: some bugs..
- Push to branch
git push origin foo/bar
- Pull Request
Licensed under the MIT license.