Platforms
Publishing to LinkedIn personal profiles and company pages.
Publish to personal profiles or company pages on LinkedIn.
Connect
Connect LinkedIn in the OwlStack dashboard:
- Go to Project Settings > Platforms > LinkedIn
- Click Connect with LinkedIn
- Authorize OwlStack via OAuth
- Select personal profile or company page
Publishing
use OwlStack\Enums\Platform;
$result = $client->publish($post, [Platform::LinkedIn]);Options
| Option | Type | Description |
|---|---|---|
visibility | string | PUBLIC or CONNECTIONS |
target | string | personal or company (if both connected) |
$result = $client->publish($post, [Platform::LinkedIn], [
'visibility' => 'PUBLIC',
'target' => 'company',
]);Constraints
| Constraint | Value |
|---|---|
| Max text length | 3,000 characters |
| Max media | 1 |
| Supported media types | JPEG, PNG, GIF |