![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2009
Posts: 201
|
Chaturbate API - Need Help
Hello GFY members
I am using a script found on internet (nomoneyinporn) for my chaturbate xml based WL.I did some modifications to it,mostly visual,but i can't figure out how to speed it up.I did all i could find on the web,changed hosts,tried a VPS but didn't do the trick.My website speed is between 6 to 20 seconds to load,which is very bad.Visitors won't stay and BIG G gets very angry.From what i could see,80% of loading time is "waiting".I guess waiting in line to download resources from chaturbate.I found a couple of sites that are using the same API,not sure if the same script too,and they don't seem to have speed issues.I am thinking they somehow downloaded resources in the backend and are serving pages from their own server,avoiding long waiting time for the user.So please,if you know how,help me improve my website's speed.Many Thanks! My website: Secsy dot net |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
confirmed loser
Industry Role:
Join Date: Jul 2012
Location: Florida
Posts: 1,092
|
I feel your pain man. I'm using it on a few domains and they are super slow like you said. I hope you searched high and low in the coding and stuff because they put their affiliate code in a lot of places where you may not see them.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,051
|
Hmm. the main reason for the speed issue is because the script is probably grabbing the xml file every time you navigate anywhere.
So, when the page initially loads..load the xml. then when they click femals. load the xml. then when they hit page 2. load the xml. etc etc etc Each time the xml loads, the script goes out to chaturbate, gets the file, pulls it across. That page hit is probably the longest operation in any script doing this and sometimes chaturbate can time out while delivering the file. The entire time this is going on your site looks like it is doing nothing. So, the best way to speed up something pulling this way is to pull the xml file once every so many minutes and store the info and then pull from the info store instead of from chaturbate. that make sense? .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,051
|
I looked at the script that is on nomoneyinporn, the one labeled CHATURBATE WHITELABEL SCRIPT.
What I would probably do with this. 1. Make a folder on the server to store a file in. 2. Put together a script to pull the xml file from chaturbate and write it to my folder. 3. Set up a cron to run that script every 5 minutes or so. 4. Everywhere in the script that calls the xml file, change the reference to call the file I wrote. That will stop the site from having to go out to chaturbate on every nav change and should produce a significant improvement in performance. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,051
|
no money in porn script original version pulling xml from chaturbate each page change http://madspiders.com/nmip/indexv1.php
no money in porn script pulling xml locally each page change http://madspiders.com/nmip/indexv2.php Difference is about 9 seconds. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
eat a peach for Hours
Industry Role:
Join Date: Aug 2013
Posts: 540
|
the master has spoken
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Feb 2009
Posts: 201
|
Hi and thanks for joining this thread,
You are absolutely right Sarettah,i need to store info on my server,especially images.Here is how i think it should be: 1.call the original xml file from chaturbate 2.save images on local folder or db 3.create new xml with the data from original xml but updated image locations to local folder 4.change the xml file to call in the script 5.set a cronjob to update every 2-5 minutes First of all,you should know that my programming skills are limited to html and css.In php i can only deal with echo and simple variables.But i can follow a tutorial,so right now im stuck at how to save images.After that i'll be stuck at how to create the new xml with updated image location.I saw your examples,and indeed,you took care of that waiting time.But to be honest i have no idea what you did or how you did it.So please,can you explain a little more?Thanks! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,051
|
You are overthinking it imho.
I would not do the images if I were you. In my camfoxes.com I am letting chaturbate serve up the images. The only thing I am pulling serverside is the data and it appears to do fine. just imho. Pulling the xml file is pretty easy. use file_get_contents() to open the remote file. Use file_put_contents to write the local copy to disk. $flname="/server file path/filename"; $url="xml url"; $data=file_get_contents($url); if(!empty($data)) { file_put_contents($flname,$data); } else { echo "Did not get a file back<br>\n"; } .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Feb 2009
Posts: 201
|
Thank you soooo much Sarettah.My website loads in 3-4 seconds now
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2009
Posts: 201
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,051
|
Quote:
![]() .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
|
Wow your site is loading very fast now ! I tried to build a site using CB APIs but I didn't succed , and those free scripts are real slow
![]()
__________________
Make Money With: Chaturbate |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,051
|
Quote:
![]() On the nomoneyinporn script, looked at it and it is not bad for a freebie at all. There are some minor warning messages to be handled but other than that, it worked right out of the box. The modification to put the file local and pull from it took less than 15 minutes to put together. So, if you wanted to try again I am sure there are some people that would help you on it. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
small trip to underworld
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
|
they are super slow bc they need pagination plus the caching
__________________
automatic exchange - paxum , bitcoin,pm, payza . daizzzy signbucks caution will black-hat black-hat your traffic ignored forever :zuzana designs
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Registered User
Industry Role:
Join Date: Jun 2014
Posts: 53
|
could you make your white label easier to use?
Ours is super simple
__________________
MyTubeCams Cash
Live Video Chat Affiliate Program 25% LFTM RevShare, 10% Affiliate Referral, 5% Performer/Studio Referral http://cash.mytubecams.com White Labels / Iframes / Flash Banners Skype: tim.chirillo ICQ: 431555157 [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,051
|
Quote:
If me, well, I am not a rep for anyone but me and I don't have a whitelabel. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Registered User
Industry Role:
Join Date: Jun 2014
Posts: 53
|
I encourage everyone to try out our new White Label .. see sig
__________________
MyTubeCams Cash
Live Video Chat Affiliate Program 25% LFTM RevShare, 10% Affiliate Referral, 5% Performer/Studio Referral http://cash.mytubecams.com White Labels / Iframes / Flash Banners Skype: tim.chirillo ICQ: 431555157 [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Brentwood,TN Heredia, Costa Rica
Posts: 320
|
Just a quick update for anyone using this script, I have added some updates and it is now responsive. You can get the updated script here https://github.com/hillipino/Chaturbate-API
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Confirmed User
Industry Role:
Join Date: Sep 2010
Location: The Land Of Gods
Posts: 167
|
Quote:
Any tips on integrating live cams on a bootstrap site? Im actually interested in integrating specifically those 2 divs Code:
<div class=row uniform>...<div> Code:
<div class=sb_pager>...<div> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Industry Role:
Join Date: Sep 2014
Posts: 237
|
Hey
Thanks for the awesome script! I'm used to wordpress though and I don't know how to add a description for each page, its not pulling it when I check it out on analyzer
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Confirmed User
Industry Role:
Join Date: Dec 2015
Posts: 111
|
Can anyone tell me how to do that: sexcamlyDOTcom use the chaturbate api (an updated script I have seen here on GFY to download), but the iframes pointed to the same IP adress (sexcamlyDOTcom <--> cams.sexcamlyDOT.com have the same IP adresse). The subdomain looks like a whitelabel from chaturbate. Is the site hosted by chaturbate?
__________________
CamSoda invite link - promote an unsatisfied cam site! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Industry Role:
Join Date: Jun 2008
Location: Worldwide
Posts: 168
|
I have some troubles with my white label website www.hotcam4you.com only on smartphone i've this error message "HTTP 404 - Page Not Found" the video streaming no longer appear, what can i do ?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Brentwood,TN Heredia, Costa Rica
Posts: 320
|
Seems to work fine on iphone
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Brentwood,TN Heredia, Costa Rica
Posts: 320
|
cams.sexcamly.com is a whitelabel hosted at chaturbate. The sexcamly.com site is just styled to look similar to the whitelabel.
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Brentwood,TN Heredia, Costa Rica
Posts: 320
|
In index.php you can set the page descriptions for the cams, just add the description where it says description.
$core->addCommand('cam', 'tpl_view_cams', SITENAME . ' - ' . $arg1 . '\'s Live Web Cam', 'Description','Keywords'); $arg1 is the username Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
Confirmed User
Industry Role:
Join Date: Jun 2008
Location: Worldwide
Posts: 168
|
Quote:
2) Chaturbate Customer support said: "We have deployed a fix for this issue, embedded videos will not be redirected to m.chaturbate" |
|
![]() |
![]() ![]() ![]() ![]() ![]() |