]> git.mxchange.org Git - friendica.git/commitdiff
one replacement of the twitteroauth lib forgotten
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 27 Feb 2011 06:40:14 +0000 (07:40 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 27 Feb 2011 06:40:14 +0000 (07:40 +0100)
addon/twitter/twitter.php

index 0fd891d208a53afe1e125b9ebcf812f33e6a7259..b2e5aa7cedfbfcf8c959d5084624ce796542e27e 100644 (file)
@@ -159,7 +159,7 @@ function twitter_settings(&$a,&$s) {
                         *  we have an OAuth key / secret pair for the user
                         *  so let's give a chance to disable the postings to Twitter
                         */
-                        require_once('addon/twitter/twitteroauth.php');
+                        require_once('library/twitteroauth.php');
                        $connection = new TwitterOAuth($ckey,$csecret,$otoken,$osecret);
                        $details = $connection->get('account/verify_credentials');
                        $s .= '<div id="twitter-info" ><img id="twitter-avatar" src="'.$details->profile_image_url.'" /><p id="twitter-info-block">'. t('Currently connected to: ') .'<a href="https://twitter.com/'.$details->screen_name.'" target="_twitter">'.$details->screen_name.'</a><br /><em>'.$details->description.'</em></p></div>';