]> git.mxchange.org Git - friendica.git/blobdiff - library/twitteroauth.php
Preparations for a more visible reshare when exporting to twitter, statusnet or facebook.
[friendica.git] / library / twitteroauth.php
index 009ad56bd4a3b76a7048dafd7b2724e2118ce7ef..24e831a9244b517834aa400b4064af7774e390f5 100644 (file)
@@ -184,6 +184,8 @@ class TwitterOAuth {
     switch ($method) {
     case 'GET':
       return $this->http($request->to_url(), 'GET');
+    case 'UPLOAD':
+      return $this->http($request->get_normalized_http_url(), 'POST', $request->to_postdata(true));
     default:
       return $this->http($request->get_normalized_http_url(), $method, $request->to_postdata());
     }