diff --git a/statusnet/library/twitteroauth.php b/statusnet/library/twitteroauth.php index 5ac2ab12a..7bd53d28c 100644 --- a/statusnet/library/twitteroauth.php +++ b/statusnet/library/twitteroauth.php @@ -8,6 +8,12 @@ * Version 0.2.0 kept for compatibility purpose with StatusNetOAuth */ +use Friendica\Security\OAuth1\OAuthConsumer; +use Friendica\Security\OAuth1\OAuthRequest; +use Friendica\Security\OAuth1\OAuthSignatureMethod_HMAC_SHA1; +use Friendica\Security\OAuth1\OAuthToken; +use Friendica\Security\OAuth1\OAuthUtil; + /** * Twitter OAuth class */ diff --git a/tumblr/library/tumblroauth.php b/tumblr/library/tumblroauth.php index 4e21a6ab0..ac96456fd 100644 --- a/tumblr/library/tumblroauth.php +++ b/tumblr/library/tumblroauth.php @@ -6,6 +6,12 @@ * The first PHP Library to support OAuth for Tumblr's REST API. (Originally for Twitter, modified for Tumblr by Lucas) */ +use Friendica\Security\OAuth1\OAuthConsumer; +use Friendica\Security\OAuth1\OAuthRequest; +use Friendica\Security\OAuth1\OAuthSignatureMethod_HMAC_SHA1; +use Friendica\Security\OAuth1\OAuthToken; +use Friendica\Security\OAuth1\OAuthUtil; + /** * Tumblr OAuth class */