View Single Post
Old 09-28-2016, 07:29 PM  
Firestarter30
Confirmed User
 
Industry Role:
Join Date: Sep 2010
Location: The Land Of Gods
Posts: 167
Quote:
Originally Posted by menxzy View Post
Hello everyone,
Just Install chaturbate api v2.1 but ive got some problem and i dont have knowledge in php, so please help my questions:
1. i want only show male cams only. the problem is in related cam show show all cams (mostly girls and couple). how to edit _solo.php to make sure only male showing in related.

2. how to check if my cron is working?
3. in chaturbate site we can browse model base tags. is possible to use tags instead age / hd/news etc?

sorry for my english, hope everyone understand what i mean.
change
PHP Code:
get_cams AFFIDTRACK$gender=''THUMB_CNT ); 
to
PHP Code:
get_cams AFFIDTRACK$category 'm'THUMB_CNT ); 

For cronjob, open terminal and type
crontab -u yourusername -e

/1 * * * * /usr/bin/php absolute-location-that-cron.php-resides > absolute-location-of-chaturbate.log 2>&1
(downloads the xml every minute)

Im not using the tags , so i dont know.
Firestarter30 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote