here is my config..
// The array below are the ids of non-public forums, update these to be your admin forum ids or anything non-public by default
$excludedForums = array(7);
if (!in_array($foruminfo[forumid], $excludedForums)) {
//
http://classes.verkoyen.eu/bitly
require_once 'bitly.php';
//
http://classes.verkoyen.eu/twitter/
require_once 'twitter.php';
$bitly = new Bitly('guru', 'R_d3383e27ad33b187a20e78d68c063be');
$shortUrl = $bitly->shorten('http://www.mysite.info/vbforum/showthread.php?t='.$newpost[threadid]);
$tweet = '';
if (isset($newpost['prefixid']) && $newpost['prefixid'] != '') {
$tweet = $vbphrase['prefix_'.$newpost['prefixid'].'_title_plain'].' ';
}
$tweet .= $newpost['title'].' '.$shortUrl;
$twitter = new Twitter('guru','mypassword');
$twitter->updateStatus($tweet);
}
please check whether is it okay or not
If it s okay.. but i didnot make any change on it . it is same config what i do.
or if it is wrong then please explain correct config.
Do reply