Chaturbate embed "offline room" SOlution?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lovebitch
    Confirmed User
    • Jun 2016
    • 764

    #1

    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?
    Cupid.Cam
  • fuzebox
    making it rain
    • Oct 2003
    • 22353

    #2
    Pull the model's online status from the API.

    Comment

    • lovebitch
      Confirmed User
      • Jun 2016
      • 764

      #3
      Originally posted by fuzebox
      Pull the model's online status from the API.
      But I am embeding manually. No way around in that case?
      Cupid.Cam

      Comment

      • NoWhErE
        Too lazy to set a custom title
        • Sep 2005
        • 10583

        #4
        Originally posted by lovebitch
        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.
        skype: lordofthecameltoe

        Comment

        • sarettah
          see you later, I'm gone
          • Oct 2002
          • 14321

          #5
          Originally posted by NoWhErE
          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.

          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?
          Originally posted by lovebitch
          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.
          All cookies cleared!

          Comment

          • mechanicvirus
            Confirmed User
            • Feb 2005
            • 4219

            #6
            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.

            Comment

            • Akali
              So Fucking Banned
              • Apr 2023
              • 83

              #7
              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

              Comment

              Working...