symfony / instagram-notifier
Symfony Instagram Notifier Bridge
Package info
github.com/symfony/instagram-notifier
Type:symfony-notifier-bridge
pkg:composer/symfony/instagram-notifier
8.2.x-dev
2026-08-10 16:29 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 Instagram content publishing
via Instagram API with Instagram Login, as a Symfony Notifier Chatter transport.
DSN example
INSTAGRAM_DSN=instagram://ACCESS_TOKEN@default?user_id=IG_USER_ID&api_version=v22.0
where:
ACCESS_TOKENis an Instagram user access token (Instagram Login)IG_USER_IDis the Instagram user idapi_versionis optional (defaults tov22.0)poll_attemptsis optional (defaults to45): how many times the media container is checked before giving uppoll_delayis optional (defaults to2): seconds between two checks
Sending an image feed post
use Symfony\Component\Notifier\Bridge\Instagram\InstagramOptions; use Symfony\Component\Notifier\Message\ChatMessage; $options = (new InstagramOptions())->imageUrl('https://example.com/photo.jpg'); $chatter->send((new ChatMessage('Caption'))->options($options));
Reel (public HTTPS video_url required):
use Symfony\Component\Notifier\Bridge\Instagram\InstagramOptions; use Symfony\Component\Notifier\Message\ChatMessage; $options = (new InstagramOptions()) ->videoUrl('https://example.com/reel.mp4') ->shareToFeed(true); $chatter->send((new ChatMessage('Reel caption'))->options($options));