View Single Post
Old 19th February 2014, 03:47   #270
sholehvn
Junior Member
 
Join Date: Oct 2013
Posts: 3
Quote:
Originally Posted by dopelabs View Post
I have updated the script to include support for shoutcast v1, shoutcast v2, and icecast.

https://github.com/dlnetworks/twittercast

Twittercast - Shoutcast/Icecast Song Title To Twitter Status Script

Supports Shoutcast V1 and V2 or Icecast

Register a new app at http://dev.twitter.com/apps/new
Fill in API keys and server info in shoutcast.php or icecast.php (dont forget to set paths for title.txt!)
Upload title.txt, shoutcast_v1.php or shoutcast_v2.php or icecast.php, EpiCurl.php, EpiOAuth.php, and EpiTwitter.php to your webserver IN THE SAME DIRECTORY!
Change the file permissions for title.txt writable by ALL (chmod 777)
Visit shoutcast_v1.php or shoutcast_v2.php or icecast.php in your browser to trigger an update or setup a cron job.
cron job example:

*/3 * * * * php /home/username/public_html/domain.com/twittercast/shoutcast.php

In this example php will execute shoutcast.php once ever 3 minutes. You may change to your desire.

man crontab for more info.

Please also note that this script may not work with your hosting provider. Many shared hosting providers have php configurations that will not support this script (no fsockopen).

This script will work properly on a defalt LAMP stack.

I can provide twittercast hosting services if desired.

not work sir,

link: http://gorkradio.com/twittermaster/shoutcast_v2.php
twitter: https://wwwgorkradio.com

twitter app config
- Access level : Read and Write
- Callback URL : http://gorkradio.com/twittermaster/EpiTwitter.php

hmm how to resolve?
sholehvn is offline   Reply With Quote