Announcement

Collapse
No announcement yet.

Twittercast: Shoutcast / Icecast Song Title To Twitter Status PHP Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • doesn't matter... your stations site will suffice

    Comment


    • Thanks to everyone who contributed to this, im back up

      Comment


      • Please help me...

        Some time ago I worked with the code of twittercast you provided here, but now I can not, can someone help me?

        Comment


        • 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 Post
            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?
            You do not have OAuth PHP mod installed on your server. If you are on a shared hosting server, this mod may not be available.
            the detour network - detour MUSIC, detour TALK

            Purple Zebra Consulting-http://purplezebra.us
            Supporting independent internet radio stations since 2001!

            Comment


            • Dammit, Netfirms confirms:

              At the moment, we do not offer OAuth for PHP.

              Time to look for a new web host, I guess. Thanks for the help.
              Shadowy Realms --
              Tales of Suspense, Mystery and the Macabre

              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 things
                  Go easy on me...
                  https://1mix.co.uk

                  Comment


                  • Originally Posted by Busby View Post
                    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 things
                    You should just be able to keep that blank when setting up a new Twitter app. Your application will not be using a callback URL.
                    the 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 thanks
                      Last edited by Busby; 25 September 2010, 20:30.
                      Go easy on me...
                      https://1mix.co.uk

                      Comment


                      • Originally Posted by Busby View Post
                        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 thanks
                        It does not look like curl (http://en.wikipedia.org/wiki/CURL) is working on your server. Check with your hosting company's support department to see if this is turned on.
                        the 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


                          • Double-check to make sure that your account is set to use PHP5. That was my first problem. PHP4 won't do it.
                            Shadowy Realms --
                            Tales of Suspense, Mystery and the Macabre

                            Comment


                            • Help

                              I'm having trouble setting up, where I find the Access Token Secret?
                              Please help setting up a twittercast. Thanks

                              Comment


                              • I just register here to say thanks dopelabs... Thank you very much, it works perfectly!!

                                Comment

                                Working...
                                X