diff --git a/twitter/twitter.php b/twitter/twitter.php index 8b483c9e..bca5e7db 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -298,17 +298,17 @@ function twitter_settings(App $a, &$s) * account at Twitter. */ $connection = new TwitterOAuth($ckey, $csecret); - $request_token = $connection->url('oauth/request_token', ['oauth_callback' => 'oob']); + $result = $connection->oauth('oauth/request_token', ['oauth_callback' => 'oob']); /* * * * make some nice form */ $s .= '
' . L10n::t('At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter.') . '
'; - $s .= ''; + $s .= ''; $s .= '