Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 11-04-2013, 11:25 AM   #1
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
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 ?
__________________

automatic exchange - paxum , bitcoin,pm, payza

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

ignored forever :zuzana designs

Last edited by CPA-Rush; 11-04-2013 at 11:31 AM..
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-04-2013, 03:03 PM   #2
arena18
Confirmed User
 
arena18's Avatar
 
Industry Role:
Join Date: Jan 2013
Posts: 246
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
arena18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-04-2013, 04:34 PM   #3
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
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
__________________

automatic exchange - paxum , bitcoin,pm, payza

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

ignored forever :zuzana designs

Last edited by CPA-Rush; 11-04-2013 at 04:37 PM..
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-05-2013, 02:32 AM   #4
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
http://webcamschicks.twomini.com/

i think i'm done with most parts
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-05-2013, 06:44 AM   #5
Jimbo
Confirmed User
 
Industry Role:
Join Date: Oct 2001
Location: Montreal
Posts: 3,989
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
Jimbo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-05-2013, 10:01 AM   #6
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
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?
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-05-2013, 02:23 PM   #7
arena18
Confirmed User
 
arena18's Avatar
 
Industry Role:
Join Date: Jan 2013
Posts: 246
Quote:
Originally Posted by Jimbo View Post
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 ...
arena18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-05-2013, 10:00 PM   #8
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
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 ?
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2013, 07:01 AM   #9
Jimbo
Confirmed User
 
Industry Role:
Join Date: Oct 2001
Location: Montreal
Posts: 3,989
Quote:
Originally Posted by arena18 View Post
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
Jimbo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2013, 01:54 PM   #10
arena18
Confirmed User
 
arena18's Avatar
 
Industry Role:
Join Date: Jan 2013
Posts: 246
Quote:
Originally Posted by rosx View Post
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...
arena18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2013, 04:17 PM   #11
arena18
Confirmed User
 
arena18's Avatar
 
Industry Role:
Join Date: Jan 2013
Posts: 246
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
arena18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2013, 05:41 PM   #12
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
Quote:
Originally Posted by arena18 View Post
I will make simple script for you tonight, with pagination and caching...
Tnx buddy...

Quote:
Originally Posted by arena18 View Post
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
__________________

automatic exchange - paxum , bitcoin,pm, payza

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

ignored forever :zuzana designs

Last edited by CPA-Rush; 11-06-2013 at 05:43 PM..
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2013, 05:54 PM   #13
arena18
Confirmed User
 
arena18's Avatar
 
Industry Role:
Join Date: Jan 2013
Posts: 246
Make sure that cached folder have read/write permission
arena18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 11-06-2013, 06:18 PM   #14
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
arena18 i dont know how to thank u are Good programmer and also helpful ..
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 10-04-2014, 01:05 PM   #15
funnytimecpl
Registered User
 
funnytimecpl's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 74
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 ?
funnytimecpl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-24-2016, 05:08 AM   #16
saimonyz
Registered User
 
saimonyz's Avatar
 
Industry Role:
Join Date: Apr 2016
Location: Europe
Posts: 14
arena18

please reuplod script
saimonyz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-20-2016, 03:53 AM   #17
plienine
Registered User
 
plienine's Avatar
 
Industry Role:
Join Date: May 2010
Location: Europe
Posts: 48
Can someone re-upload the scrip with pagination? Link is not working anymore.

Thanks!
plienine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-20-2016, 04:56 AM   #18
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
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
Andreweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-20-2016, 02:24 PM   #19
saimonyz
Registered User
 
saimonyz's Avatar
 
Industry Role:
Join Date: Apr 2016
Location: Europe
Posts: 14
@Andreweb

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

adn in hillipino is XML script
__________________
BomCams.NET PearCams.COM
saimonyz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-21-2016, 01:28 AM   #20
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
Quote:
Originally Posted by saimonyz View Post
@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
Andreweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-21-2016, 01:58 AM   #21
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,423
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
Andreweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.