diff --git a/statusnet/library/statusnetoauth.php b/statusnet/library/statusnetoauth.php index beed59e7f..27d91638b 100644 --- a/statusnet/library/statusnetoauth.php +++ b/statusnet/library/statusnetoauth.php @@ -1,5 +1,7 @@ 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 .= '' . L10n::t('Log in with Twitter') . ''; + $s .= '' . L10n::t('Log in with Twitter') . ''; $s .= '
'; $s .= ''; $s .= ''; - $s .= ''; - $s .= ''; + $s .= ''; + $s .= ''; $s .= '
'; $s .= '
'; } else {