GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech Cams - Chaturbate API V2 parsing via JavaScript (https://gfy.com/showthread.php?t=1341908)

Cucik 12-13-2021 04:00 PM

How can I use this script for Wordpress?

k33n 12-14-2021 02:44 AM

As it is, you can't. Anything custom, outside the Wordpress core, can be integrated with the help of plugins. Also is recommended to use the Wordpress way, or you will be getting all sorts of errors and unexpected behaviours.

Tjeezers 12-14-2021 04:03 AM

Whenever I have AdBlock On, CB disappears to another universe. Even the APIs do not pop up.

Nubianprince 12-16-2021 12:50 PM

Quote:

Originally Posted by Cucik (Post 22943622)
How can I use this script for Wordpress?

I've seen a couple WP related cam plugins on here already, check those out. I started developing my own recently.

j3rkules 12-16-2021 03:03 PM

Quote:

Originally Posted by Nubianprince (Post 22944604)
I've seen a couple WP related cam plugins on here already, check those out. I started developing my own recently.

I am pretty sure that he is looking for a free script or plugin.

PretjeNL 01-03-2022 01:27 PM

Quote:

Originally Posted by sarettah (Post 22823669)
Anybody interested in a full tutorial on building a site using api feeds?

A beginning to end, step by step type tuttorial?

.

I would be interested aswell. I just noticed the topic u have created for the API V2 version.
Was trying to figure it out a bit, as i do know some programming.

Going to play around with the code u posted. Thanks for sharing.

brassmonkey 01-13-2022 01:45 PM

this is badass op how do you add pagination? and open cam page? :helpme:helpme

sarettah 01-13-2022 04:16 PM

Quote:

Originally Posted by brassmonkey (Post 22953641)
this is badass op how do you add pagination? and open cam page? :helpme:helpme

look under the sheets.

.

brassmonkey 01-13-2022 05:35 PM

Quote:

Originally Posted by sarettah (Post 22953697)
look under the sheets.

.

you just can't stop talking shit. i was going to leave it alone...

sarettah 01-13-2022 07:13 PM

Quote:

Originally Posted by brassmonkey (Post 22953738)
you just can't stop talking shit. i was going to leave it alone...

I am not talking shit. Do a view source (look under the sheets) on dudefoxes or milffoxes, the code is there. None of it is hidden.

You should know enough coding to figure it out.

Edited in: take a look at post 67 in this thread, I explain the pagination there.

.

brassmonkey 01-13-2022 09:32 PM

Quote:

Originally Posted by sarettah (Post 22953773)
I am not talking shit. Do a view source (look under the sheets) on dudefoxes or milffoxes, the code is there. None of it is hidden.

You should know enough coding to figure it out.

Edited in: take a look at post 67 in this thread, I explain the pagination there.

.

thank you :thumbsup:thumbsup

drexl 01-27-2022 08:09 AM

Quote:

Originally Posted by CB Kitt (Post 22821270)
We encourage all affiliates to use the new API where possible.

Hi CB Kitt,

I would really appreciate if you pinged me on Skype when time allows: live:.cid.d8703232d4c0c99

It's not about the technical implementation of the API.

Thank you

Clown 02-05-2022 06:29 PM

Just wanted to share my version of the v2 API.

hornyfeed dot com

Any input is appreciated. I am also willing to help people in need.

Thanks.

sarettah 02-05-2022 07:56 PM

Quote:

Originally Posted by Clown (Post 22962050)
Just wanted to share my version of the v2 API.

hornyfeed dot com

Any input is appreciated. I am also willing to help people in need.

Thanks.

Why does https://hornyfeed.com redirect to https://clownonymous.com/cb/ ?

.

Clown 02-05-2022 09:51 PM

That is the domain I have it hosted on. I just used a redirect as I just bought hornyfeed domain yesterday.

EDIT: Trying to point the domain directly to it without a redirect but having some issues.

sarettah 02-06-2022 06:05 AM

Quote:

Originally Posted by Clown (Post 22962083)
That is the domain I have it hosted on. I just used a redirect as I just bought hornyfeed domain yesterday.

EDIT: Trying to point the domain directly to it without a redirect but having some issues.

Well, doing that without warning folks looks scammy as fuck, I think.

So, I did not go any further once I hit the redirect.

.

Clown 02-06-2022 12:35 PM

Quote:

Originally Posted by sarettah (Post 22962142)
Well, doing that without warning folks looks scammy as fuck, I think.

So, I did not go any further once I hit the redirect.

.

I can see what you mean, however I bought a domain with IONOS for the first time and their interface is pretty garbage. I have finally figured out how to set the nameservers correctly and it should be working without a redirect. Sorry about that, I usually use namecheap for my domains but couldn't pass up the $1 domain offer :1orglaugh

sarettah 02-06-2022 08:15 PM

Quote:

Originally Posted by Clown (Post 22962226)
I can see what you mean, however I bought a domain with IONOS for the first time and their interface is pretty garbage. I have finally figured out how to set the nameservers correctly and it should be working without a redirect. Sorry about that, I usually use namecheap for my domains but couldn't pass up the $1 domain offer :1orglaugh

Took a look. Looks pretty good.

You have some work to do on the mobile. Pagination is too small, enter link on the adult warning is too small.

In your info box you are showing the birthdate. Myself, I would not do that.


.

Clown 02-06-2022 09:14 PM

Quote:

Originally Posted by sarettah (Post 22962404)
Took a look. Looks pretty good.

You have some work to do on the mobile. Pagination is too small, enter link on the adult warning is too small.

In your info box you are showing the birthdate. Myself, I would not do that.


.

Thank you for the tips, I will fix those issues and remove the birthday as well. I thought it looked kind off odd having it displayed anyways.

Clown 02-18-2022 05:06 PM

juicysluts.com - My newest touch on the Chaturbate API. Any feedback is appreciated.

Also is there still good money to be made with Chaturbate?

brassmonkey 02-18-2022 05:17 PM

Quote:

Originally Posted by Clown (Post 22966650)
juicysluts.com - My newest touch on the Chaturbate API. Any feedback is appreciated.

Also is there still good money to be made with Chaturbate?

pagination is 404... looks good!!! :thumbsup:thumbsup

sarettah 02-18-2022 05:17 PM

Quote:

Originally Posted by Clown (Post 22966650)
juicysluts.com - My newest touch on the Chaturbate API. Any feedback is appreciated.

Also is there still good money to be made with Chaturbate?

Looks pretty good.

.

Clown 02-18-2022 05:19 PM

Quote:

Originally Posted by brassmonkey (Post 22966655)
pagination is 404... looks good!!! :thumbsup:thumbsup

Thanks guys, and that's odd. It's working correctly for me.

brassmonkey 02-18-2022 05:23 PM

Quote:

Originally Posted by Clown (Post 22966657)
Thanks guys, and that's odd. It's working correctly for me.

i will send it on pm its a .htaccess issue i get /2 for page 2 it need to be /index.php?page=2

Clown 02-18-2022 06:09 PM

Quote:

Originally Posted by brassmonkey (Post 22966659)
i will send it on pm its a .htaccess issue i get /2 for page 2 it need to be /index.php?page=2

Thank you for pointing that out sir. I verified with a friend that it indeed was putting out a 404 error. We discovered it was due to ad blockers blocking the javascript I was using the change pages. I am now reverting back to links hoping that will fix the issue.

brassmonkey 03-07-2022 01:27 PM

how do you embed the chat in this?

sarettah 03-07-2022 04:54 PM

Quote:

Originally Posted by brassmonkey (Post 22974877)
how do you embed the chat in this?

You could use the iframe_embed_revshare field wherever you want the embed.

.

brassmonkey 03-07-2022 05:49 PM

Quote:

Originally Posted by sarettah (Post 22974963)
You could use the iframe_embed_revshare field wherever you want the embed.

.

example please :)

sarettah 12-30-2022 04:22 PM

Quote:

Originally Posted by brassmonkey (Post 22974977)
example please :)

hey, i guess that i had missed you asking this

not sure what you are wanting as an example, i use the version 2 api and embeds on https://camgirlbinge.com

.

modulles 06-28-2023 07:35 AM

Hello teacher!
 
Hello sarettah
If you could please make a mobile responsive code for this wonderful fourth code you made?
I have been following you for a long time and for me you are the best teacher.
All my respect! Thank you on behalf of all those who learned from you!

fuzebox 06-28-2023 10:58 AM

Quote:

Originally Posted by modulles (Post 23149462)
Hello sarettah
If you could please make a mobile responsive code for this wonderful fourth code you made?
I have been following you for a long time and for me you are the best teacher.
All my respect! Thank you on behalf of all those who learned from you!

You can't just come up with your own responsive grid in css? :error

Any other beginner html designs you need sarettah to do for you?

sarettah 06-29-2023 09:55 AM

Quote:

Originally Posted by fuzebox (Post 23149555)
You can't just come up with your own responsive grid in css? :error

Any other beginner html designs you need sarettah to do for you?

well i guess i can't help then

.

fuzebox 06-29-2023 10:30 AM

Quote:

Originally Posted by sarettah (Post 23149918)
well i guess i can't help then

Far too many people trying to make money online without the most basic of technical skills.

brassmonkey 06-29-2023 11:03 AM

Quote:

Originally Posted by modulles (Post 23149462)
Hello sarettah
If you could please make a mobile responsive code for this wonderful fourth code you made?
I have been following you for a long time and for me you are the best teacher.
All my respect! Thank you on behalf of all those who learned from you!

just buy a plugin or script. end of story...

emmasexytime 06-29-2023 05:46 PM

Quote:

Originally Posted by brassmonkey (Post 23149929)
just buy a plugin or script. end of story...

:2 cents:
https://nichepornsites.com/how-to-ma...ive-cams-site/ :2 cents:

dUbster 06-29-2023 07:23 PM

Quote:

Originally Posted by modulles (Post 23149462)
Hello sarettah
If you could please make a mobile responsive code for this wonderful fourth code you made?
I have been following you for a long time and for me you are the best teacher.
All my respect! Thank you on behalf of all those who learned from you!

Here you go, I didn't test but you can try it

Code:

<?php
  // edit area
  $wmid='JkjyU';
  $tag='18';   
  $gender='f';
  $limit=32; 
  $camsdiv='camsdiv';
  // end of edit area

  // pulling client ip
  $client_ip='';
  if (isset($_SERVER['HTTP_CLIENT_IP']) && $_SERVER['HTTP_CLIENT_IP'] != "")
  {
    $clientip = addslashes($_SERVER['HTTP_CLIENT_IP']);
  }
  else if (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != "")
  {
    $clientip = addslashes($_SERVER['HTTP_X_FORWARDED_FOR']);
  }
  else
  {
    $clientip = addslashes($_SERVER['REMOTE_ADDR']);
  }

  // construct the api url
  $api_url="https://chaturbate.com/api/public/affiliates/onlinerooms/?wm=" . $wmid . "&format=xml&client_ip=" . $clientip;
 
  if($limit>0)
  {
    $api_url .="&limit=" . $limit;
  }
  if($tag>'')
  {
    $api_url .="&tag=" . $tag;
  }
  if($gender>'')
  {
    $api_url .="&gender=" . $gender;
  }
?>
<html>
<head>
<base href="https://gfy.com/" /><!--[if IE]></base><![endif]-->
<meta http-equiv="content-type" content="text/html; charset=windows-1250">       
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Example of pulling CB API Version 2</title>

<style>
.cams-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cams-item {
  width: 100%;
  max-width: 300px;
  margin-bottom: 20px;
  text-align: center;
}

.cams-item a {
  color: #000000;
  font-weight: bold;
}

.cams-item img {
  max-width: 90%;
}
</style>

<script>
function parse_data(data, camsdiv)
{
  parser = new DOMParser();
  xmlDoc = parser.parseFromString(data,"text/xml");
  x=xmlDoc.getElementsByTagName("username");
  txt='';
 
  for (i = 0; i < x.length ;i++)
  {
    txt +='<div class="cams-item">';
    txt +='<a rel=nofollow href=' + xmlDoc.getElementsByTagName("chat_room_url_revshare")[i].childNodes[0].nodeValue + '>';
    txt +=xmlDoc.getElementsByTagName("username")[i].childNodes[0].nodeValue + '<br>';
    txt +='<img src=' + xmlDoc.getElementsByTagName("image_url")[i].childNodes[0].nodeValue + '><br>';
    txt +='</a>';
    txt +='</div>';
 
    document.getElementById(camsdiv).innerHTML +=txt;
    txt='';
  }
}
</script>
</head>
<body>
<div style="width:100%;text-align:center;">
<h1>Example of pulling Chaturbate API Version 2 using pure JavaScript</h1>
<br>
<div class="cams-container" name="camsdiv" id="camsdiv"></div>
</div>
<script>
pathin="<?php echo $api_url; ?>";

if (window.XMLHttpRequest)
{
  dirpage=new XMLHttpRequest();
}
else
{
  dirpage=new ActiveXObject("Microsoft.XMLHTTP");
}
dirpage.onreadystatechange=function()
{
  if (dirpage.readyState==4 && dirpage.status==200)
  {
    parse_data(dirpage.responseText, "<?php echo $camsdiv; ?>");
  }
}
dirpage.open("GET",pathin,true);
dirpage.send();

</script>

</body>
</html>


modulles 07-02-2023 01:25 PM

Quote:

Originally Posted by fuzebox (Post 23149555)
You can't just come up with your own responsive grid in css? :error

Any other beginner html designs you need sarettah to do for you?


Being a bad man is easy, it's harder to be a good man! And I didn't even ask you anything...
I asked Sarettah personally!
When I ask you personally, then react. OK?

sarettah 07-03-2023 07:04 AM

Quote:

Originally Posted by modulles (Post 23150826)
Being a bad man is easy, it's harder to be a good man! And I didn't even ask you anything...
I asked Sarettah personally!
When I ask you personally, then react. OK?

and you did ask very nicely.

i will see what i can do.

.

modulles 07-04-2023 10:50 AM

Quote:

Originally Posted by sarettah (Post 23151005)
and you did ask very nicely.

i will see what i can do.

.

I'm waiting for your answer Sarettah !
All my respect for what you do...:thumbsup

emmasexytime 07-07-2023 02:20 PM

Quote:

Originally Posted by modulles (Post 23151404)
I'm waiting for your answer Sarettah !
All my respect for what you do...:thumbsup

May i ask how you made xcamadult.com ? I like it. :thumbsup

Feel free to dm me if needed


All times are GMT -7. The time now is 09:22 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc