account/end_session requires a POST
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 20 Jul 2009 19:03:29 +0000 (15:03 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 20 Jul 2009 19:03:49 +0000 (15:03 -0400)
framework/Service_Twitter/lib/Horde/Service/Twitter/Account.php

index 8a6a3d1..4062fb0 100644 (file)
@@ -56,7 +56,7 @@ class Horde_Service_Twitter_Account
     public function endSession()
     {
         $url = $this->_endpoint . 'end_session.' . $this->_format;
-        return $this->_twitter->request->get($url);
+        return $this->_twitter->request->post($url);
     }
 
     /**