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)
-   -   Chaturbate embed "offline room" SOlution? (https://gfy.com/showthread.php?t=1374359)

lovebitch 04-01-2024 09:41 AM

Chaturbate embed "offline room" SOlution?
 
HI

SO i decided to create a cam site with embed, but when i embed chaturbate embed, if the room is offline it will show offline on the embed, any way to show other room or atleast display message for the visitor to join other room?

Any help?

fuzebox 04-01-2024 11:45 AM

Pull the model's online status from the API.

lovebitch 04-01-2024 08:49 PM

Quote:

Originally Posted by fuzebox (Post 23249766)
Pull the model's online status from the API.

But I am embeding manually. No way around in that case?

NoWhErE 04-02-2024 05:56 AM

Quote:

Originally Posted by lovebitch (Post 23249911)
But I am embeding manually. No way around in that case?

Write a quick script that queries the API for the room you are embedding to get their status.

sarettah 04-02-2024 07:06 AM

Quote:

Originally Posted by NoWhErE (Post 23250022)
Write a quick script that queries the API for the room you are embedding to get their status.

The API is not really sophisticated enough for that. You cannot query it for a specific room. So, to check the status off 1 room (which is what I suspect is what he wants to do) you would have to pull all records for the gender, because it is known and go through them all to see if the record you are looking for is there. Unfortunately the API v2 limits you to 500 cams per pull so if the one you are looking for isn't in the first pull you would have to do multiple pulls to get at it.

On the API v1 you would have to pull the entire set of cams.

Quote:

SO i decided to create a cam site with embed, but when i embed chaturbate embed, if the room is offline it will show offline on the embed, any way to show other room or atleast display message for the visitor to join other room?
Quote:

Originally Posted by lovebitch (Post 23249911)
But I am embeding manually. No way around in that case?

I know of no sure way to determine if a room is online or not. The API statuses returned are public, private or away but it only lists online cams so if the model is not online they simply do not show up in the api pull.

It sounds like you are trying to pull for a specific room so the best bet there is ot have the iframe on the page and if it is offline it is offline.

If you are not trying for a specific room you can go grab the link for "current top room", with that if they go offline they are replaced with another room.

That is all based on the little knowledge I have and I definitely could be wrong as I often am.

Good luck and have fun.

mechanicvirus 04-02-2024 11:30 AM

Most of the time these rooms are offline for about 10 minutes because the model is taking a break.

Technically you could spend thousands to fix this issue, but that depends on if your profit is over $2,000 per month to justify a small time frame in which a model may or may not be online. Also viewers can just refresh and get a new model, exactly what I tell mine to do.

Akali 04-03-2024 03:03 PM

It's all controlled by what is in api. You can extract list of online models with their pictures and profile info. Pm me if need help


All times are GMT -7. The time now is 12:57 PM.

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