correct twitter url for the server V02.01
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Tue, 16 Oct 2012 10:30:18 +0200
changeset 705 af8b10551286
parent 704 5cb9af039528
child 706 03f55ccec968
correct twitter url for the server
web/tweet_ajax.php
--- a/web/tweet_ajax.php	Tue Oct 16 10:01:43 2012 +0200
+++ b/web/tweet_ajax.php	Tue Oct 16 10:30:18 2012 +0200
@@ -18,7 +18,7 @@
      */
     $token = unserialize($_SESSION['TWITTER_ACCESS_TOKEN']);
     $client = $token->getHttpClient($configuration);
-    $client->setUri('https://api.twitter.com/1.1/statuses/update.json');
+    $client->setUri('http://api.twitter.com/1.1/statuses/update.json');
     $client->setMethod(Zend_Http_Client::POST);
     $client->setParameterPost('status', $_POST['status']);
     $response = $client->request();