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 04-21-2022, 10:56 PM   #1
theintegrator
Registered User
 
Industry Role:
Join Date: Apr 2022
Posts: 6
Chaturbate API Events

Hello everyone!

I need some advice on how to approach a project, I have no programming experience or knowledge but I'm willing to learn whatever's needed to make this specific thing work.
What I want to achieve is to basically break (even though it sounds too obvious) the event data and fetch it from another program (In this case Unreal Engine, but that part is not the issue).
I just need the data to be there (I'm guessing in localhost) so I can "grab" it from inside unreal, but I can't manage to get the example code provided by the documentation to work, but I'm guessing I'm missing a whole chunk for it to work properly.
I read it's called longpolling, and excuse my ignorance it it's basic knowledge, but I didn't find any straightforward source that teaches how to longpoll an url.
Kind of was hoping that I could stitch something out with the Example Code and watching some videos on YouTube but this isn't being the case right now.

Is it too far fetched to think of doing something like that without coding knowledge? Where should I start?

tldr: I need to get the Chaturbate Events API to break the data in an url so I can grab it from another software but don't know how to do it.

Talk to me like I know stuff and I'll google the answer or ask people lol

Thanks a lot!
theintegrator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 12:08 AM   #2
brassmonkey
Pay It Forward
 
brassmonkey's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 77,059
didn't read it... https://gfy.com/fucking-around-and-b...ascript-1.html
__________________
TRUMP 2025 KEKAW!!! - The Laken Riley Act Is Law!
DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com
brassmonkey is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 04:50 AM   #3
theintegrator
Registered User
 
Industry Role:
Join Date: Apr 2022
Posts: 6

I did see that post, saw nothing related to the events API, the tokens or JSON even being mentioned there, which is what I think I need, just XML and AJAX call, I'm asking here because I found nothing specifically related to the events and need only that
theintegrator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 05:52 AM   #4
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,073
I have no idea what you are referring to as the events api.

As far as I know Chaturbate has 2 apis. An original and a version 2. Both can output json or xml data. Neither contains "events".

Can you point us to where you found example code for an events api, or any other info about an events api?

Current list of promo tools at Chaturbate:



.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 06:03 AM   #5
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,073
After thinking on it a bit, you are probably talking about postbacks.

From Chaturbate:

Quote:
What are postbacks?

A postback is a POST request with the data sent as JSON. It is webhook compatible and integrates well with many webhook compatible systems such as Zapier, Stripe, and Slack. Chaturbate allows registering up to 5 postback URLs and conversions post to all registered URLs that are enabled.

A postback happens when a user signs up, makes a purchase, becomes a broadcaster, or earns a commission. The affiliate that referred that user can then react, for example, by creating a local database entry or sending out an email.

The postback URLs should be kept hidden and used only for Chaturbate conversion tracking.

I have not worked much with Chaturbate's post backs but it is really not a hard concept to implement.

If I have a chance later I will see if I can work up something about them if that is what you are talking about. Let me know on that.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 06:06 AM   #6
lock
Confirmed User
 
lock's Avatar
 
Industry Role:
Join Date: Jul 2003
Location: Australia
Posts: 5,065
I clicked due to keyword events as have domains.
__________________
Traffic.Tools - 40+ Free Tools
Free.Marketing - 150+ Free Tools
Submission.Tools
- 20+ Free Tools
lock is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 06:55 AM   #7
theintegrator
Registered User
 
Industry Role:
Join Date: Apr 2022
Posts: 6
My bad, I should have tried to link something but couldn't since I'm new here, but it's in chaturbate (.) com/apps/api/docs/index.html

It says:

"Events API documentation

What is Events API

Events API allows users to receive notifications about events like chat messages, private messages, tips, etc. Any programming language can be used to connect to this API from a 3rd party server."

-

In the "How to use it" section it says to connect it to the "longpoll JSON event feed", and it links to a doc that has an example code
theintegrator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 07:04 AM   #8
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,073
Quote:
Originally Posted by theintegrator View Post
My bad, I should have tried to link something but couldn't since I'm new here, but it's in chaturbate (.) com/apps/api/docs/index.html

It says:

"Events API documentation

What is Events API

Events API allows users to receive notifications about events like chat messages, private messages, tips, etc. Any programming language can be used to connect to this API from a 3rd party server."

-

In the "How to use it" section it says to connect it to the "longpoll JSON event feed", and it links to a doc that has an example code

Ok, you are talking about Chaturbate apps, building widgets and stuff for models to use in their rooms.

I have never screwed around with them so I know nothing about them.

sorry about that.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 07:10 AM   #9
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,073
I did find this https://github.com/paulallen87/chaturbate-events

That might help.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 02:50 PM   #10
theintegrator
Registered User
 
Industry Role:
Join Date: Apr 2022
Posts: 6
Quote:
Originally Posted by sarettah View Post
Ok, you are talking about Chaturbate apps, building widgets and stuff for models to use in their rooms.

I have never screwed around with them so I know nothing about them.

sorry about that.

.
Right, what I want to do is to build the integration of those events inside Unreal so that when the client receives the input I can create an event that does something I.e have a sex animation trigger, or incorporating that along with Lovense API to trigger the dildo and an animation on the virtual character at the same time. (I'm a 3D Artist and wannabe gamedev)

I thought it would be an straightforward process, grab that example code, figure out how to deploy it and call those strings from inside Unreal to make custom events (with an existing plugin that allows you that), but it doesn't seem to be the case
theintegrator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 02:56 PM   #11
theintegrator
Registered User
 
Industry Role:
Join Date: Apr 2022
Posts: 6
Quote:
Originally Posted by sarettah View Post
I did find this github . com / paulallen87 / chaturbate-events

That might help.

.

I tried that one too, but it seems outdated, I couldn't make it work.
Some of the modules are deprecated and couldn't find a workaround

It shows:

npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See v8 . dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see github . com/request/request/issues/3142
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause
a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
theintegrator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2022, 03:42 PM   #12
theintegrator
Registered User
 
Industry Role:
Join Date: Apr 2022
Posts: 6
Quote:
Originally Posted by theintegrator View Post
I tried that one too, but it seems outdated, I couldn't make it work.
Some of the modules are deprecated and couldn't find a workaround

It shows:

npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See v8 . dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see github . com/request/request/issues/3142
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause
a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
Oh I think I know why, that code is from 2018 and the current events one is from 2021 as mentioned in the changelog "2021-09-10: Initial Release"

(chaturbate . com/apps/api/docs/changelog.html#changelog)
theintegrator 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
knowledge, data, code, chaturbate, grab, break, url, guessing, unreal, api, events, watching, hoping, straightforward, source, teaches, longpoll, videos, stitch, fetched, stuff, talk, software, google, lol



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.