doesn't matter... your stations site will suffice
Announcement
Collapse
No announcement yet.
Twittercast: Shoutcast / Icecast Song Title To Twitter Status PHP Script
Collapse
X
-
I downloaded twittercast.zip, modified twitter.php with my Twitter app info and uploaded the files to my site (same folder), but when I hit twitter.php on my site, I get:
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in ...com/EpiCurl.php on line 14
All the files were uploaded to my site's root folder. What did I do wrong, here?Shadowy Realms --
Tales of Suspense, Mystery and the Macabre
Comment
-
Originally Posted by shadowyrealms View PostI downloaded twittercast.zip, modified twitter.php with my Twitter app info and uploaded the files to my site (same folder), but when I hit twitter.php on my site, I get:
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in ...com/EpiCurl.php on line 14
All the files were uploaded to my site's root folder. What did I do wrong, here?the detour network - detour MUSIC, detour TALK
Purple Zebra Consulting-http://purplezebra.us
Supporting independent internet radio stations since 2001!
Comment
-
Okay, the reply to my problem and the email response from Netfirms seemed to dovetail together, but the error message I got was NOT due to any problem with OAuth on my host's part.
My account was still set to use PHP4 instead of PHP5, which this script apparently requires. I read something about this somewhere, changed my preferences on Netfirms to PHP5 and hit the twitter.php page again. I got the title that was playing and number of listeners instead of the error that had been coming up before.
[I can't say that I entirely trust Netfirms' tech support. When I tried to set the old version of Twittercast up the first time, they told my that I couldn't do the script that would update the title on my site, which I did get to work--after much frustration--a few days later.]
So let's go at it again. The title and listeners page (twitter.php) is working, I'm getting no errors, but I get no updates on Twitter. Is there someplace where I might find an error indicated that I can work with, or can anyone think of something I might try to get some substantial result I can work with out of this? I really thank you for your help. I guess I'm not giving up on this until I actually understand this whole OAuth.php thing.Shadowy Realms --
Tales of Suspense, Mystery and the Macabre
Comment
-
Can someone tell me what 'Callback URL:' is please?
I can see I'm in for a struggle here - I'm not using the PAL version..
Why do they keep changing thingsGo easy on me...
https://1mix.co.uk
Comment
-
Originally Posted by Busby View PostCan someone tell me what 'Callback URL:' is please?
I can see I'm in for a struggle here - I'm not using the PAL version..
Why do they keep changing thingsthe detour network - detour MUSIC, detour TALK
Purple Zebra Consulting-http://purplezebra.us
Supporting independent internet radio stations since 2001!
Comment
-
Help!
OK, I followed all the instructions, but I get this error:
Fatal error: Call to undefined function curl_multi_init() in /home/paul/website/twittercast/EpiCurl.php on line 34
Any suggestions please?
Oh, and can you tell me please, what do I need to remove/comment out, to stop the listener numbers from displaying.
Can you also tell me how to add 'Now Playing:' text..
Many thanksLast edited by Busby; 25 September 2010, 20:30.Go easy on me...
https://1mix.co.uk
Comment
-
Originally Posted by Busby View PostOK, I followed all the instructions, but I get this error:
Fatal error: Call to undefined function curl_multi_init() in /home/paul/website/twittercast/EpiCurl.php on line 34
Any suggestions please?
Oh, and can you tell me please, what do I need to remove/comment out, to stop the listener numbers from displaying.
Can you also tell me how to add 'Now Playing:' text..
Many thanksthe detour network - detour MUSIC, detour TALK
Purple Zebra Consulting-http://purplezebra.us
Supporting independent internet radio stations since 2001!
Comment
-
Thanks for the reply aaronsnet, but everything was working fine until Twitter changed to OAuth.
I have uploaded the new files to a new folder, on the same server, and got this error..
The old files are still there and working fine, except of course, it doesn't update..Go easy on me...
https://1mix.co.uk
Comment
Comment