Chaturbate affiliate api script

TinyCB

TinyCB is a small and simple Chaturbate affiliate API script that feteches models from Chaturbate’s API feed and lets you create your own cam site.

Example site: Kudocams.com (opens in new tab).

Chaturbate affiliate api script

Setup

1. Sign up at Chaturbate or Bongacams.
2. Download and unzip the archive.
    2.1 Chaturbate.
    2.2 Bongacams (coming soon).
3. Go to functions/edit.php and change everything accordingly.
4. Upload all files to your server.
5. Make sure chaturbate.xml is writable.

NOTE: This script was written for PHP 5.x and MIGHT not work with PHP7. It is also recommended to turn error reporting to off in your php.ini 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.

Issues

If you have issues with the script and need help please contact us at Contact or post a question under Porn Q&A.

Future

– Clean up obsolete bits and pieces of code.
– Bongacams version of the script.
– Making the script compatible with PHP7+.
– Implementing a basic easy to use backend to give less advanced users more / better control over their website.
– WordPress plugin.
– Mobile friendly / responsive

License

TinyCB is released under the MIT license.

Copyright (c) Thefreeporndirectory.com

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.