Download the PHP package laravel-notification-channels/facebook-poster without Composer
On this page you can find all versions of the php package laravel-notification-channels/facebook-poster. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-notification-channels/facebook-poster
More information about laravel-notification-channels/facebook-poster
Files in laravel-notification-channels/facebook-poster
Package facebook-poster
Short Description Use notification to create posts on Facebook
License MIT
Informations about the package facebook-poster
FacebookPoster Notification Channel For Laravel
This package makes it easy to post to Facebook using Laravel notification channels.
Contents
- Installation
- Setting up the Facebook posts service
- Usage
- Publish Facebook post
- Publish Facebook post with link
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
You can install this package via Composer:
Configuration
You'll need to get the Facebook Page ID as well as a page access token with the pages_read_engagement
and pages_manage_post
permissions. You will need to go through App Review in order to use these permissions. Then, add the configuration to your config/services.php
file:
Usage
Follow Laravel's documentation to add the channel to your Notification class.
Publish Facebook post
Publish Facebook post with link
It is possible to publish link with your post too. You just have to pass the URL to the withLink
method.
Publish Facebook post with custom configuration
You can implement routeNotificationForFacebookPoster()
on your notifiable class in order to provide custom configuration.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
- Ahmed Ashraf
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of facebook-poster with dependencies
guzzlehttp/guzzle Version ^7.2
illuminate/notifications Version ^10.0|^11.0
illuminate/support Version ^10.0|^11.0