$statusText, 'privacy' => $privacy, 'language' => $language, ]; $mastodon = new MastodonAPI($token, $baseURL); $result = $mastodon->postStatus($statusData); // Activate the next line if you want to print the result of the query //var_dump($result);