| author | Raphael Velt <raph.velt@gmail.com> |
| Tue, 16 Oct 2012 10:03:17 +0200 | |
| changeset 707 | 78ba6e14f159 |
| parent 694 | e9400c80e1e4 |
| child 708 | a7b8011c91dd |
--- a/web/tweet_ajax.php Tue Oct 02 14:40:14 2012 +0200 +++ b/web/tweet_ajax.php Tue Oct 16 10:03:17 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('http://api.twitter.com/1/statuses/update.json'); $client->setMethod(Zend_Http_Client::POST); $client->setParameterPost('status', $_POST['status']); $response = $client->request();