Platforms
Publishing to Facebook Pages.
Publish to Facebook Pages with support for scheduled publishing and privacy targeting.
Connect
Connect Facebook in the OwlStack dashboard:
- Go to Project Settings > Platforms > Facebook
- Click Connect with Facebook
- Authorize OwlStack and select the Pages you manage
- Your Pages appear as connected
Publishing
use OwlStack\Enums\Platform;
$result = $client->publish($post, [Platform::Facebook]);Options
| Option | Type | Description |
|---|---|---|
privacy | array | Privacy setting (e.g., ['value' => 'EVERYONE']) |
scheduled_publish_time | int | Unix timestamp for scheduled publishing (Pro plan) |
$result = $client->publish($post, [Platform::Facebook], [
'privacy' => ['value' => 'EVERYONE'],
]);Constraints
| Constraint | Value |
|---|---|
| Max text length | 63,206 characters |
| Max media | 1 |
| Supported media types | JPEG, PNG, GIF, BMP, MP4, AVI |