I just got this working again. It was pretty simple.
First, like with the other mods, you will need to register a new Twitter Application (while logged with your normal Twitter account) -
http://dev.twitter.com/apps/new
Note down the "Consumer Key" and "Consumer Secret" (Under App Details) as well as the "Access Token" and "Access Token Secret" (under My Access Token on the App details screen).
Step 1: Download Tijs Verkoyen's new twitter.php file (which supports OAuth) -
http://classes.verkoyen.eu/modules/t...tter_2_0_1.zip
Step 2: Edit the file.
- add your Access Token to "private $oAuthToken = " (line 88)
- add your Access Token Secret to "private $oAuthTokenSecret =" (line 96).
Step 3: Upload it to the root directory of your forum (ie. replace your old twitter.php)
Step 4: Edit your vBulletin module, and change these two lines:
PHP Code:
$twitter = new Twitter('<twitter username>','<twitter password>');
$twitter->updateStatus($tweet);
to
PHP Code:
$twitter = new Twitter('<Twitter Consumer Key>', '<Twitter Consumer Secret>');
$twitter->statusesUpdate($tweet);
All should be sweet now.
At least, it was for me...