# HG changeset patch # User Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> # Date 1350374470 -7200 # Node ID a0772dbfb936945244c791a31f691a44e9da1b8b # Parent 9287df3d235a3b0f65317473803a41e35f6204bb Correct tweeter url for posting tweets diff -r 9287df3d235a -r a0772dbfb936 web/tweet_ajax.php --- a/web/tweet_ajax.php Mon Oct 15 19:11:47 2012 +0200 +++ b/web/tweet_ajax.php Tue Oct 16 10:01:10 2012 +0200 @@ -18,7 +18,7 @@ */ $token = unserialize($_SESSION['TWITTER_ACCESS_TOKEN']); $client = $token->getHttpClient($configuration); - $client->setUri('http://twitter.com/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();