librecat/action/tw-post-sample.php

16 lines
219 B
PHP

<?php
session_start();
if(!isset($_SESSION["uid"])){
header("Location: /login");
die();
}
include("../include/tw-post.php");
post_tweet("Testing tweet publication from LibreCat");
header("Location: /config");
?>