twitter is now https only
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Thu, 16 Jan 2014 19:40:59 +0100
changeset 1050 10feb1ce6d17
parent 1049 28ab50986ddd
child 1051 f44f048d2e60
twitter is now https only
web/tweet_ajax.php
--- a/web/tweet_ajax.php	Thu Jan 16 15:41:12 2014 +0100
+++ b/web/tweet_ajax.php	Thu Jan 16 19:40:59 2014 +0100
@@ -18,7 +18,7 @@
      */
     $token = unserialize($_SESSION['TWITTER_ACCESS_TOKEN']);
     $client = $token->getHttpClient($configuration);
-    $client->setUri('http://api.twitter.com/1.1/statuses/update.json');
+    $client->setUri('https://api.twitter.com/1.1/statuses/update.json');
     $client->setMethod(Zend_Http_Client::POST);
     $client->setParameterPost('status', $_POST['status']);
     $response = $client->request();