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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-19-2017, 03:54 PM   #1
XSAXS
Confirmed User
 
XSAXS's Avatar
 
Industry Role:
Join Date: Nov 2004
Location: Las Vegas
Posts: 650
Chaturbate API fucked up for anyone else?

We make heavy use of the Chaturbate API.
Works great 99.5% of the time.
Noticed last night it wasn't working correctly, and it's still fucked.

We write the data to a sqlite db, and something is fucking it up on write.

Not sure the problem yet.
Anyone else having problems?
XSAXS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-19-2017, 04:09 PM   #2
OneMillionGirls
Confirmed User
 
Industry Role:
Join Date: Apr 2017
Posts: 949
now i understand, why i have since 48h so low signups on cb.

i dont use api, but cb technics, but the results are really low...

also my sales are stopped since starting 16th of this month..

hmmm
OneMillionGirls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-19-2017, 04:14 PM   #3
XSAXS
Confirmed User
 
XSAXS's Avatar
 
Industry Role:
Join Date: Nov 2004
Location: Las Vegas
Posts: 650
Quote:
Originally Posted by OneMillionGirls View Post
i dont use api, but cb technics
errr.... CB technics?
XSAXS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-19-2017, 04:46 PM   #4
OneMillionGirls
Confirmed User
 
Industry Role:
Join Date: Apr 2017
Posts: 949
Quote:
Originally Posted by XSAXS View Post
errr.... CB technics?
i mean normal cb Affiliate Linking Codes
OneMillionGirls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-19-2017, 07:24 PM   #5
sarettah
l8r
 
Industry Role:
Join Date: Oct 2002
Posts: 13,501
My sites grab the xml feed every 5 minutes. I only keep track of what happened on the past load and the dump file I have did not indicate any problems.

What kind of problem are you seeing? Have you isolated the write statement that is fucking up so you can see what the data you are trying to put into the database looks like?


All my numbers for this period look pretty normal from what I can see.

.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-19-2017, 10:57 PM   #6
bns666
Confirmed Fetishist
 
bns666's Avatar
 
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,472
works ok here...
__________________
CAM SODASTRIPCHAT
CHATURBATESKYPE SEX CAMS
bns666 is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2017, 01:44 AM   #7
MFCT
Confirmed User
 
Industry Role:
Join Date: Jan 2015
Posts: 1,489
There's XML, JSON, and YAML versions of the API. IDK which one you're using. I can't speak for the others, but I can say YAML certainly has its quirks. You don't go into detail about what issue you're having. But if its related to irregularities in the API, read on.

One irregularity would crash my PHP at random, while the rest of the time everything would work perfectly fine. This baffled me for weeks, until I finally figured out WTF was going on.

In the YAML version, model names typically aren't encased in quotes. However, if the model's name happens to be all-numeric, they are encased in quotes. This resulted in unexpected, unneeded quotes being put in my PHP. Which of course would crash the PHP whenever an all-numeric-name model happened to be online. And then it would magically work again once all the numeric name models logged off.

I contacted their support about this, explained what was going on, and that it probably was a bug in their code and not intended. They ended up changing a few things in the YAML API a bit. But none of the changes were related to, or in any way affected, the all-numeric model names bug that I'd pointed out.

So I just let it go. I instead just coded around the irregularities. Haven't had an issue since. Good luck to you.
__________________
Keeping you abreast of the teens that get undressed.
Girls By Location - Couples By Location - Guys By Location - Trans By Location
MFCT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2017, 05:25 AM   #8
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
A models name is a "literal" -- you cannot perform arithmetic on a model's name (a string) ...

That said, if the source data (feed) is not corrupt, or there has been some change, you need to echo or print out the data parsed. Using a PHP parser I would do this in a terminal with php cli you will get better error reporting.
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2017, 01:16 PM   #9
hdbuilder
Confirmed User
 
hdbuilder's Avatar
 
Industry Role:
Join Date: Jun 2012
Location: Canada
Posts: 1,338
By experience sometimes their API has glitches or cant be reached but it never last for very long...
__________________

ROBO SCRIPTS | WP CAM PLUGIN - Scripts To Promote Cam Sites - Chaturbate, BongaCams, Streamate, LiveJasmin, Stripchat...

The Cam Site Builder, The Cam Multi Site Builder -> MULTIPLE CAM SITES IN ONE
hdbuilder is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-21-2017, 01:25 AM   #10
hand-held
Confirmed User
 
Join Date: Sep 2006
Location: WA
Posts: 136
Quote:
Originally Posted by MFCT View Post
In the YAML version, model names typically aren't encased in quotes. However, if the model's name happens to be all-numeric, they are encased in quotes. This resulted in unexpected, unneeded quotes being put in my PHP. Which of course would crash the PHP whenever an all-numeric-name model happened to be online. And then it would magically work again once all the numeric name models logged off.
That's not a bug, that's just how YAML supports integers and floats. You should probably just use a real YAML parser since that's not the only weird thing it does... (see how invoice, postal, quantity, price, tax and total become ints or floats in PHP: yaml_parse - Manual)

Definitely sounds like OP has something like that going on as well.
__________________
Pimp pimp... hooray! Pimp pimp... hooray!
hand-held is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
chaturbate, write, api, fucked, sqlite, data, fucking, heavy, 99.5%, time, correctly, night, noticed



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.