Skip to content
Chaturbate affiliate API script
Branch: master
Clone or download
Latest commit 0e06341 Jul 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img Delete empty Dec 3, 2018
.htaccess Add files via upload Feb 3, 2019
LICENSE Initial commit Dec 3, 2018
chaturbate.xml Add files via upload Feb 4, 2019
edit.php Update edit.php Feb 10, 2019
index.php Update index.php Feb 10, 2019
readme.md Update readme.md Jul 20, 2019

readme.md

Chaturbate affiliate API script

About TinyCB

TinyCB is a small Chaturbate affiliate script (written in PHP) that you can deploy on your server. What it does is, it downloads Chaturbate's XML API feed on your own server and uses that file to parse the models on your website. This script comes with a default template (mobile ready). To change the default template, it is recommended to have some basic knowledge about HTML / CSS / PHP.

Furthermore, TinyCB should be easy to setup (no programming knowledge required). All values are predefined in the edit.php file.

Setup

  1. Sign up at Chaturbate
  2. Download and unzip the archive here.
  3. Change edit.php accordingly.
  4. Upload all files to your server.
  5. Make sure chaturbate.xml is writable.

NOTE: Tested script with PHP7 and works.

NOTE: It is recommended to set display_errors=Off in your php.ini file. Alternatively, if you don't have access to php.ini you can turn off error reporting by adding error_reporting(0); to index.php or php_flag display_errors off to your htaccess file.

Cache and speed

This script makes use of a very simple xml caching method. It pré downloads the feed from Chaturbate and then saves it to a local xml file on your server. There's no need to setup any cron jobs etc. The script is very light weight and should run with minimal system specifications however. Because of Chaturbate's ever growing API feed I recommed using an SSD and fairly decent processor to keep pages loading fast.

Features

The script is currently divided into 4 categories. Features cams, female cams, male cams, and transsexual cams. All rooms are provided with Chaturbate's theater mode. I've chosen for this mode because it had the best results for mobile devices. The script works most optimal by using Chaturbate's white label in the back end (this is optional but recommended).

For the future

For the script in its current state, I'm planning to create different types of templates so people can switch between those. There is also a rework planned for the script in which I'm planning to implement a simple CMS, more features and possibly a plugin for Wordpress.

Twitter

Follow me on twitter.com/TinyCB_ to stay updated for further updates of the script (or a complete rework).

License

TinyCB is released under the MIT license.

Copyright (c) TinyCB

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.