diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 7293f882..3b083acd 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -306,7 +306,7 @@ function statusnet_settings(&$a,&$s) { */ if (! $globalsn == null) { $s .= '

' . t('Globally Available StatusNet OAuthKeys') . '

'; - $s .= '

'. t("There are preconfigured OAuth key pairs for some StatusNet servers available. If you are useing one of them, please use these credentials. If not feel free to connect to any other StatusNet instance \x28see below\x29.") .'

'; + $s .= '

'. t("There are preconfigured OAuth key pairs for some StatusNet servers available. If you are using one of them, please use these credentials. If not feel free to connect to any other StatusNet instance \x28see below\x29.") .'

'; $s .= '
'; foreach ($globalsn as $asn) { $s .= ''. $asn['sitename'] .'
'; @@ -1588,3 +1588,9 @@ function statusnet_is_retweet($a, $uid, $body) { logger('statusnet_is_retweet: result '.print_r($result, true), LOGGER_DEBUG); return(isset($result->id)); } +get_hostname(); + + $connection = new StatusNetOAuth($api, $ckey,$csecret,$otoken,$osecret); + + $parameters = array( true); + //$parameters[image/