symfony / facebook-page-notifier
Symfony Facebook Page Notifier Bridge, via Meta Graph API Page feed
Package info
github.com/symfony/facebook-page-notifier
Type:symfony-notifier-bridge
pkg:composer/symfony/facebook-page-notifier
8.2.x-dev
2026-08-10 13:33 UTC
Requires
- php: >=8.4.1
- symfony/http-client: ^7.4|^8.0
- symfony/notifier: ^7.4|^8.0
This package is auto-updated.
Last update: 2026-08-10 19:32:21 UTC
README
Provides Facebook Pages API
integration for Symfony Notifier, as a Chatter transport.
Note This bridge posts to a Facebook Page via Graph API
POST /{page_id}/feedusing a page access token. Personal-profile publishing is not available through the Graph API (publish_actionswas removed in 2018). Use Meta's Share Dialog for user-timeline sharing.
DSN example
FACEBOOK_PAGE_DSN=facebook-page://PAGE_ACCESS_TOKEN@default?page_id=PAGE_ID&api_version=v26.0
where:
PAGE_ACCESS_TOKENis a Page access token withpages_manage_postsPAGE_IDis the numeric Facebook Page idapi_versionis optional (defaults tov26.0)
Sending a Page post
use Symfony\Component\Notifier\Message\ChatMessage; $chatter->send(new ChatMessage('Hello from the Facebook Page!'));
Optional link attachment:
use Symfony\Component\Notifier\Bridge\FacebookPage\FacebookPageOptions; use Symfony\Component\Notifier\Message\ChatMessage; $options = (new FacebookPageOptions())->link('https://example.com/article'); $chatter->send((new ChatMessage('Read our latest article'))->options($options));