cam api

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CPA-Rush
    small trip to underworld
    • Mar 2012
    • 4927

    #1

    cam api

    Hey looking for bongacams api script to list the cams on my page .. help?

    what u think of 1:37 ratio ..is okay ?
    Last edited by CPA-Rush; 11-04-2013, 09:31 AM.

    automatic exchange - paxum , bitcoin,pm, payza

    . daizzzy signbucks caution will black-hat black-hat your traffic

    ignored forever :zuzana designs
  • arena18
    Confirmed User
    • Jan 2013
    • 246

    #2
    Here is simple code should be working if you get JSON from bcams

    Code:
    <style>
    body { background:#F2F2F2; margin:0; padding:0}
    a { text-decoration:none}
    .div { float:left;width:180px;height:auto;position:relative; margin:0; padding:0}
    .div img { width:100%; display:block; height:auto}
    .div span { padding:2px; text-decoration:none;position:absolute; bottom:0; left:0; right:0; height:22px; line-height:22px; font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#FFF; background:rgba(0,0,0,0.6)}
    </style>
    
    <?php 
    $data = file_get_contents('JSON_URL');
    $decode = json_decode($data, true); 
    	foreach($decode as $d) {
    		if($d['status'] == true){
    			echo '<div class="div">';
    				echo '<a href="'.$d['chat_url'].'">';
    				echo '<img src="'.$d['profile_images']['thumbnail_image_big_live'].'" />';
    				echo '<span>'.$d['username'].'</span>';
    				echo '</a>';
    			echo '</div>';
    		}
    	}
    ?>
    Here is demo of this code http://wptuber.biz/test.php
    Wordpress Tube Theme - wpXtube Theme - TubeAce Theme

    Comment

    • CPA-Rush
      small trip to underworld
      • Mar 2012
      • 4927

      #3
      looks great thank u i appreciated ..is it possible to integrated this with pagination?
      for example total 25 cams and like 5 every row

      u saved my day
      Last edited by CPA-Rush; 11-04-2013, 02:37 PM.

      automatic exchange - paxum , bitcoin,pm, payza

      . daizzzy signbucks caution will black-hat black-hat your traffic

      ignored forever :zuzana designs

      Comment

      • CPA-Rush
        small trip to underworld
        • Mar 2012
        • 4927

        #4
        http://webcamschicks.twomini.com/

        i think i'm done with most parts

        automatic exchange - paxum , bitcoin,pm, payza

        . daizzzy signbucks caution will black-hat black-hat your traffic

        ignored forever :zuzana designs

        Comment

        • Jimbo
          Confirmed User
          • Oct 2001
          • 3989

          #5
          you shouldn't call such an api on evey page load ... this is just retarded programming right there. You think they will ejoy all the requests once you get a million page views a day?

          just my 2 cents
          free sex videos

          Comment

          • CPA-Rush
            small trip to underworld
            • Mar 2012
            • 4927

            #6
            hello jimbo , arena18 helped me with that code ... like u see its simple but very helpful i think is a good start . million page views a day?

            automatic exchange - paxum , bitcoin,pm, payza

            . daizzzy signbucks caution will black-hat black-hat your traffic

            ignored forever :zuzana designs

            Comment

            • arena18
              Confirmed User
              • Jan 2013
              • 246

              #7
              Originally posted by Jimbo
              you shouldn't call such an api on evey page load ... this is just retarded programming right there. You think they will ejoy all the requests once you get a million page views a day?

              just my 2 cents
              Im posted simple example there how to call and display json, this is not cam script..
              and about milion pageviews, with 1 milion pageviews i will open my own cam studio ...
              Wordpress Tube Theme - wpXtube Theme - TubeAce Theme

              Comment

              • CPA-Rush
                small trip to underworld
                • Mar 2012
                • 4927

                #8
                tnxxx that exactly what i was looking for , arena18 i tried and search web but its really hard to find pagination for this , can u help me with a bit of code ?

                automatic exchange - paxum , bitcoin,pm, payza

                . daizzzy signbucks caution will black-hat black-hat your traffic

                ignored forever :zuzana designs

                Comment

                • Jimbo
                  Confirmed User
                  • Oct 2001
                  • 3989

                  #9
                  Originally posted by arena18
                  Im posted simple example there how to call and display json, this is not cam script..
                  and about milion pageviews, with 1 milion pageviews i will open my own cam studio ...
                  1million is a big exageration that would probably hog their server so bad they would block your ip. if you calculate a little bit starting at 1441 visits a day it's more efficient to set it up to update every minute or something along those lines. I think you could do it only every 5min which becomes more efficient at 289 visits/day.

                  not only you wont hog the api server but you will also give faster response to your users. noone wants to wait 10 seconds for your page to load.

                  So much for trying to give advice to people. They throw knifes at you... instead of setting up a cronjob.

                  its so simple an Indian would probably do this for you for 1$.
                  free sex videos

                  Comment

                  • arena18
                    Confirmed User
                    • Jan 2013
                    • 246

                    #10
                    Originally posted by rosx
                    tnxxx that exactly what i was looking for , arena18 i tried and search web but its really hard to find pagination for this , can u help me with a bit of code ?
                    I will make simple script for you tonight, with pagination and caching...
                    Wordpress Tube Theme - wpXtube Theme - TubeAce Theme

                    Comment

                    • arena18
                      Confirmed User
                      • Jan 2013
                      • 246

                      #11
                      Im make something for you, now you have jQuery pagination with lazy load images, and also with caching
                      Here is demo
                      http://wptuber.biz/cams/

                      Download:
                      http://www.4shared.com/zip/Mpy69lJc/cams.html


                      Open a config.php and edit this
                      Code:
                      $api_url = 'http://bongacash.com/tools/promo.php?c=xxx&type=api&api_type=json';// You JSON Version - api
                      $cams = '25';// number of cams per page
                      $cache_time = '600';// define how long you want to keep the file in seconds.
                      $title = 'Free Cams'; // Add meta decription for your page
                      $description = 'Live Cam sex'; // Add meta decription for your page
                      $site_url = 'http://wptuber.biz/cams/'; // URL of your site
                      Wordpress Tube Theme - wpXtube Theme - TubeAce Theme

                      Comment

                      • CPA-Rush
                        small trip to underworld
                        • Mar 2012
                        • 4927

                        #12
                        Originally posted by arena18
                        I will make simple script for you tonight, with pagination and caching...
                        Tnx buddy...

                        Originally posted by arena18
                        Im make something for you, now you have jQuery pagination with lazy load images, and also with caching
                        Here is demo
                        http://wptuber.biz/cams/

                        Download:
                        http://www.4shared.com/zip/Mpy69lJc/cams.html


                        Open a config.php and edit this
                        Code:
                        $api_url = 'http://bongacash.com/tools/promo.php?c=xxx&type=api&api_type=json';// You JSON Version - api
                        $cams = '25';// number of cams per page
                        $cache_time = '600';// define how long you want to keep the file in seconds.
                        $title = 'Free Cams'; // Add meta decription for your page
                        $description = 'Live Cam sex'; // Add meta decription for your page
                        $site_url = 'http://wptuber.biz/cams/'; // URL of your site

                        Woohoo arena18 i didn't expect it will look as good your work is 10/10

                        i'm going to try this out
                        Last edited by CPA-Rush; 11-06-2013, 03:43 PM.

                        automatic exchange - paxum , bitcoin,pm, payza

                        . daizzzy signbucks caution will black-hat black-hat your traffic

                        ignored forever :zuzana designs

                        Comment

                        • arena18
                          Confirmed User
                          • Jan 2013
                          • 246

                          #13
                          Make sure that cached folder have read/write permission
                          Wordpress Tube Theme - wpXtube Theme - TubeAce Theme

                          Comment

                          • CPA-Rush
                            small trip to underworld
                            • Mar 2012
                            • 4927

                            #14
                            arena18 i dont know how to thank u are Good programmer and also helpful ..

                            automatic exchange - paxum , bitcoin,pm, payza

                            . daizzzy signbucks caution will black-hat black-hat your traffic

                            ignored forever :zuzana designs

                            Comment

                            • funnytimecpl
                              Registered User
                              • Oct 2014
                              • 74

                              #15
                              hey, how can i get a script like this ? i searched a lot , for a script to show embed cams from bongacams and chaturbate , can anybody point me in some direction ?
                              cbgtube.com | live69tube.com | fttube.com | funnytimecpl.com | livemunira.com

                              Comment

                              • saimonyz
                                Registered User
                                • Apr 2016
                                • 14

                                #16
                                arena18

                                please reuplod script
                                BomCams.NET PearCams.COM

                                Comment

                                • plienine
                                  Registered User
                                  • May 2010
                                  • 48

                                  #17
                                  Can someone re-upload the scrip with pagination? Link is not working anymore.

                                  Thanks!
                                  The Best converting Web Cam Affiliate program>>

                                  Comment

                                  • Andreweb
                                    Confirmed User
                                    • Mar 2013
                                    • 2431

                                    #18
                                    You can use adulttemps's version is way better full responsive and you can customize it ! The link to the dowload page is here : https://github.com/hillipino/BongaCash-API
                                    Make Money With: Chaturbate
                                    Cheap Reliable Hosting

                                    Comment

                                    • saimonyz
                                      Registered User
                                      • Apr 2016
                                      • 14

                                      #19
                                      @Andreweb

                                      I am interested to take a look at this script on JSON

                                      adn in hillipino is XML script
                                      BomCams.NET PearCams.COM

                                      Comment

                                      • Andreweb
                                        Confirmed User
                                        • Mar 2013
                                        • 2431

                                        #20
                                        Originally posted by saimonyz
                                        @Andreweb

                                        I am interested to take a look at this script on JSON

                                        adn in hillipino is XML script
                                        Ok I got it ! Unfortunately I never had that script , but the code is above , starting from that is not hard to make a simple page I will try build a simple example starting from that and I'll post it here !
                                        Make Money With: Chaturbate
                                        Cheap Reliable Hosting

                                        Comment

                                        • Andreweb
                                          Confirmed User
                                          • Mar 2013
                                          • 2431

                                          #21
                                          Ok as I promise here is a simple sample of page without pagination starting from arena18's code ! It took me 5 minutes to make it ! Is just a test page to see how it works ! Bonga JSON SITE SAMPLE !
                                          Make Money With: Chaturbate
                                          Cheap Reliable Hosting

                                          Comment

                                          Working...