Need help with Chaturbate API coding.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • linkhouse
    Registered User
    • Jun 2014
    • 68

    #61
    Originally posted by adulttemps
    updated the bonga script, had a typo on the male category
    Are you going to do more API scripts for other cam sites too?

    Comment

    • adulttemps
      Confirmed User
      • May 2002
      • 320

      #62
      Probably, list off other ones that have the XML feeds and I'll take a look. I have ACWM on my list as of now.
      Hillipino Money with Cams

      Comment

      • j3rkules
        VIP
        • Jul 2013
        • 22111

        #63
        Originally posted by adulttemps
        Probably, list off other ones that have the XML feeds and I'll take a look. I have ACWM on my list as of now.
        It would be great if you could add Xlovecam as well.

        Comment

        • saimonyz
          Registered User
          • Apr 2016
          • 14

          #64
          Prompt inexpensive hosting for this script
          BomCams.NET PearCams.COM

          Comment

          • Andreweb
            Confirmed User
            • Mar 2013
            • 2431

            #65
            Originally posted by saimonyz
            Prompt inexpensive hosting for this script
            A cloud VPS from DigitalOcean will be fine ! Also if you want a shared hosting you can try HawkHost , I had NMIP script instaled there and it worked with no problem ! If you want here you'll find reviews of 3 hosting that I use : Hosting
            Make Money With: Chaturbate
            Cheap Reliable Hosting

            Comment

            • linkhouse
              Registered User
              • Jun 2014
              • 68

              #66
              I have a script error:

              Warning: DOMDocument::load(): Empty string supplied as input in /home/xxx/public_html/domain.xyz/includes/functions.php on line 298

              Any idea?

              Comment

              • linkhouse
                Registered User
                • Jun 2014
                • 68

                #67
                bump, if anyone know

                Comment

                • Kafka
                  Confirmed User
                  • Oct 2002
                  • 466

                  #68
                  Try loadHTMLFile('your_html')

                  Comment

                  • saimonyz
                    Registered User
                    • Apr 2016
                    • 14

                    #69
                    help please

                    Code:
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): /home/domain/public_html//includes/data/feed.xml:2: parser error : Premature end of data in tag thumbnail_image_medium_live line 2 in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): nail_image_medium_live>//i3.bongacams.com/live/01a/380/3df/medium/a20411d175e7f7 in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct():                                                                                ^ in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): /home/domain/public_html//includes/data/feed.xml:2: parser error : Premature end of data in tag profile_images line 2 in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): nail_image_medium_live>//i3.bongacams.com/live/01a/380/3df/medium/a20411d175e7f7 in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct():                                                                                ^ in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): /home/domain/public_html//includes/data/feed.xml:2: parser error : Premature end of data in tag online_models line 2 in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): nail_image_medium_live>//i3.bongacams.com/live/01a/380/3df/medium/a20411d175e7f7 in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct():                                                                                ^ in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): /home/domain/public_html//includes/data/feed.xml:2: parser error : Premature end of data in tag online_models line 2 in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct(): nail_image_medium_live>//i3.bongacams.com/live/01a/380/3df/medium/a20411d175e7f7 in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Warning:  SimpleXMLElement::__construct():                                                                                ^ in /home/domain/public_html/includes/functions.php on line 36
                    [24-Aug-2016 14:55:06 America/Chicago] PHP Fatal error:  Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/domain/public_html/includes/functions.php:36
                    Stack trace:
                    #0 /home/domain/public_html/includes/functions.php(36): SimpleXMLElement->__construct('/home/domain/...', 0, true)
                    #1 /home/domain/public_html/includes/templates.php(174): get_banner()
                    #2 [internal function]: tpl_home(Array)
                    #3 /home/domain/public_html/classes/arix.class.php(59): call_user_func('tpl_home', Array)
                    #4 /home/domain/public_html/index.php(39): axl_Core->start()
                    #5 {main}
                      thrown in /home/domain/public_html/includes/functions.php on line 36
                    Code:
                    [25-Aug-2016 02:00:01 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
                    [25-Aug-2016 02:00:02 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
                    [25-Aug-2016 02:00:02 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
                    [25-Aug-2016 02:00:02 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
                    [25-Aug-2016 02:00:02 America/Chicago] PHP Notice:  Undefined index: HTTP_ACCEPT_ENCODING in /home/domain/public_html/index.php on line 10
                    BomCams.NET PearCams.COM

                    Comment

                    • menxzy
                      Confirmed User
                      • Dec 2015
                      • 76

                      #70
                      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.

                      Comment

                      • Firestarter30
                        Confirmed User
                        • Sep 2010
                        • 167

                        #71
                        Originally posted by menxzy
                        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 ( AFFID, TRACK, $gender='', THUMB_CNT ); 
                        
                        to
                        PHP Code:
                        get_cams ( AFFID, TRACK, $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.

                        Comment

                        • menxzy
                          Confirmed User
                          • Dec 2015
                          • 76

                          #72
                          Originally posted by Firestarter30
                          change
                          PHP Code:
                          get_cams ( AFFID, TRACK, $gender='', THUMB_CNT ); 
                          
                          to
                          PHP Code:
                          get_cams ( AFFID, TRACK, $category = 'm', THUMB_CNT ); 
                          
                          Thank you its working. i just test on shared hosting and got suspend. not sure that because chaturbate api or my other wordpress site. i will transfer to my vps after got unsuspend

                          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.
                          sorry i dont understand the exact full command example cron location is domain.com/includes/cron.php
                          but for now i use wget command

                          Comment

                          • menxzy
                            Confirmed User
                            • Dec 2015
                            • 76

                            #73
                            Hi guys,

                            Please help how to change domain.com/cam/usercam become domain.com/usercam.

                            Also is there people install this script on nginx server?

                            thanks

                            Comment

                            Working...