Simple integration with latest Facebook API - for use with Ignition Go (or vanilla Codeigniter if sessions are set up)
Note: The latest Facebook SDK for PHP requires PHP 5.4 or greater.
- clone project
- copy files to your project including composer.json and application/*
- update composer
- set your facebook_appId and facebook_appSecret in facebook.config (and set permissions)
Sample helper function
function fb_fileToUpload($fblib, $path_to_file, $params = [], $type = 'image', $access_token = null)
See [https://developers.facebook.com/docs/graph-api/overview/] for how to do more
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
5/8/2017 v0.1 Pre-beta
Thanks to @darkwhispering for his library
MIT