diff --git a/examples/status_bot.php b/examples/status_bot.php new file mode 100644 index 0000000..c1610ef --- /dev/null +++ b/examples/status_bot.php @@ -0,0 +1,22 @@ + $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); +?>