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 |
10-19-2017, 03:54 PM | #1 |
Confirmed User
Industry Role:
Join Date: Nov 2004
Location: Las Vegas
Posts: 651
|
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? |
10-19-2017, 04:09 PM | #2 |
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
__________________
|
10-19-2017, 04:14 PM | #3 |
Confirmed User
Industry Role:
Join Date: Nov 2004
Location: Las Vegas
Posts: 651
|
|
10-19-2017, 04:46 PM | #4 |
Confirmed User
Industry Role:
Join Date: Apr 2017
Posts: 949
|
__________________
|
10-19-2017, 07:24 PM | #5 |
I'll make you famous
Industry Role:
Join Date: Oct 2002
Posts: 13,947
|
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. . |
10-19-2017, 10:57 PM | #6 |
Confirmed Fetishist
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,494
|
works ok here...
|
10-20-2017, 01:44 AM | #7 |
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 |
10-20-2017, 05:25 AM | #8 |
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. |
10-20-2017, 01:16 PM | #9 |
Confirmed User
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 |
10-21-2017, 01:25 AM | #10 | |
Confirmed User
Join Date: Sep 2006
Location: WA
Posts: 136
|
Quote:
Definitely sounds like OP has something like that going on as well.
__________________
Pimp pimp... hooray! Pimp pimp... hooray! |
|