Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 3.28 KB

README.md

File metadata and controls

58 lines (47 loc) · 3.28 KB

Facebook page poster (using google spreadsheets)

This is a feature that automatically posts on Facebook pages using Google Spreadsheets.

Installation

  1. git clone https://github.com/JustinChoi21/fb-page-post-with-google-sheets.git
  2. composer install
  3. Google API Authorization
  4. Facebook API Authorization
  5. Facebook App review

Usage

$ 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 API Authorization

Facebook API Authorization

Reference

1. Google Spreadsheets reference

2. Facebook Graph Api reference

3. Facebook Access Token reference

4. Facebook App Review reference

Contributing

  1. Fork this repository git clone https://github.com/JustinChoi21/fb-page-post-with-google-sheets.git
  2. Create new branch git checkout -b foo/bar
  3. Commit changes git commit -am 'fix: some bugs..
  4. Push to branch git push origin foo/bar
  5. Pull Request

License

Licensed under the MIT license.