Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
<?php
declare(strict_types=1);
namespace App\Services\Post\ExternalMedia;
use App\Dto\RemoteFile;
use App\Models\AnalyticsPublication;
use App\Models\SocialAccount;
interface ExternalMediaResolver
{
/**
* The publication's files in network order. Empty when the network exposes none.
*
* @return list<RemoteFile>
*/
public function files(SocialAccount $account, AnalyticsPublication $publication): array;
/**
* Whether resolving files spends a request against the network's API.
*/
public function callsProvider(): bool;
}