View Single Post
Old 19th February 2009, 00:12   #13
dopelabs
Major Dude
 
dopelabs's Avatar
 
Join Date: Oct 2006
Location: Silicon Valley
Posts: 520
Send a message via AIM to dopelabs
im not sure what to tell you...

this is what line 113 looks like on mine:

$twitter_status=postToTwitter($twitter_username, $twitter_psw, 'Now Playing: '.$song[1] .' - ' .$total_listeners .' Listeners');

note that the username and password IS NOT entered here but in the API page

This is my Twitter status

Now Playing: [ARCHIVE] 2008-12-12 The Supernormous Smoke Sessions With Tminus Shambles Jviz KidLogic And Guests - 357 Listeners

This is my browser output

Now Playing: [ARCHIVE] 2008-12-12 The Supernormous Smoke Sessions With Tminus Shambles Jviz KidLogic And Guests - 357 Listeners



My station has 4 servers... so my ip and port block looks like this ( i changed my actual IPs )

$ip[1] = "123.123.123.123";
$port[1] = "80";

$ip[2] = "123.123.123.124";
$port[2] = "8000";

$ip[3] = "123.123.123.125";
$port[3] = "8030";

$ip[4] = "123.123.123.126";
$port[4] = "8050";

if you only have 1 server.. erase blocks 2, 3, and 4... if you need more add 5, 6, and so on
dopelabs is offline   Reply With Quote