From 08ca95881dea5d280f247219a09b29fed137c16e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=B2sweg?= Date: Sun, 16 Aug 2020 07:54:12 +0200 Subject: [PATCH] Add Twitter integration | test post --- config.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/config.php b/config.php index b671d3c..a3fb83b 100644 --- a/config.php +++ b/config.php @@ -1,7 +1,15 @@ @@ -22,5 +30,12 @@ session_start(); Twitter.

+querySingle("SELECT tw_oauth_verify FROM users where id = " . $_SESSION["uid"] . ";")){ + echo "

Login with Twitter

"; +} +else echo "

Post test tweet"; +?> +