#developers

1 messages · Page 12 of 1

sullen edge
#

off tha perc

swift bough
#

REAL LINK PagMan

#

I GOT $20 PagMan

manic torrent
plush kayak
manic torrent
#

mods kill this man

whole gale
#

Ive developed like an on stream game for a certain streamer and i'd like to use name paints to display the names in said game is there any api endpoint i can use to gather information about the paint so far ive only been able to find the paint id

#

or is there a paints.json

whole gale
#

I’m trying to add paints to names on the cones

#

But cant find alot of documentation xdd

#

Oh wait theres a v4 api?

plush kayak
#

v4 = gql

#

scroll to here

whole gale
#

ive firgured it out so far

#

another question

#

I can pass my own bearer token but does it expire

quick ibex
#

Normal bearer tokens expire after 30 days, but you can request a persistent session token if you want to use it for applications

whole gale
#

If I could get a token that would be awesome Smile

whole gale
plush kayak
#

please increase the font weight 🙏

#

for the usernames

paper token
#

more font weight = more paint visible

solid gale
#

make it completely unreadable

stuck oasis
#

hesRight hide those ugly paints

plush kayak
#

@swift bough did you close your pr due to inactivity?

swift bough
plush kayak
#

thanks

winged pecan
#

Kick’s public API is finally live! 🚀

Can’t wait to see what you build. We’re committed to empowering devs like never before - stay tuned! 💚

Quoting Kick (@KickStreaming)

Public API?

Pick Kick.

▶ Play video
Kick

Join the world's fastest growing streaming platform. Build apps for streamers and viewers, participate in rewarding bounty programs, and shape the future of live streaming with Kick's developer platform.

#

Kick public API or something like that Okay

manic torrent
#

omegalul

#

no emotes api, no live stream api, no get live token api, no vods api no

patent wing
#

its not like they're gonna release every api everyone wants on day one

manic torrent
#

fair

#

but they had 2 years catSigh

patent wing
#

they probably only started mid last year

manic torrent
#

duck shaking head smoking a cigarette

patent wing
#

twitch can't create a pin message api for more than 2 years

manic torrent
#

True

topaz crown
#

at least we finally have oauth

manic torrent
topaz crown
#

7tv sponsored kick api docs OMGScoots

patent wing
#

how does the extension even do that

topaz crown
#

no idea but its pretty SillyChamp

patent wing
#

theres no specific id, data attribute or anything on the element, there's no way the extension is selecting that element with a specific class name

#

oh wait the extension probably just selects any nav element on the page 😭

topaz crown
manic torrent
#

Oh I didnt realize you could click him

patent wing
manic torrent
patent wing
#

ah yes 7tv

manic torrent
#

s00n

rotund pivot
#

Kick docs before 7tv docs

zinc aspen
#

lol

plush kayak
#

happy day today

rancid tulip
#

Mods fix the 7tv crash

manic torrent
#

Another one

rotund aspen
#

I'm slowly becoming rich PagStick

plush kayak
sullen edge
#

im richly becoming slow PagStick

plush kayak
visual wedge
#

im slow

candid grove
#

Hi

#

Hi

winter dew
mortal fossilBOT
#

paauull, reminder(s) from: yourself - 🪤 (1y, 177d ago)

manic torrent
#

wtf

#

That’s a long reminder

lapis tulip
#

kind of a nuisance to being able to add emotes with special characters and äöü, and then not being able to rename them because of the emote validator

wide frigate
shy parrot
#

hi nerds

plush kayak
lunar ether
shy parrot
arctic torrent
#

Is this bugged for others too? The mod version of the viewer card doesn't show chat history like native twitch one does

rigid narwhal
arctic torrent
rigid narwhal
arctic torrent
#

Ok thanks

narrow ferry
#

Hi is there any docs for the 7tv api. I remember there was a page with like the various endpoints but it doesn’t seem to exist anymore. Specifically I want to query the api by 7tv username to get emote set data of that user. I have done this before a few years ago but forgot

topaz crown
swift bough
#

@narrow ferry

narrow ferry
#

Ty for the playground liasunglasses

winged pecan
#

huge W

swift bough
#

I clicked it twice and got $100 PagBounce

stuck oasis
#

dude

#

you guys really need to get this shit under control

#

i have 2 channels with notifs here and its dev and translations and i literally only get scam messages anymore

#

maybe consider spending some money on auto moderation instead of a 10k price pool for a csgo tournament which has nothing to do with the site and is only used to get people to spend money on paints and badges

swift bough
#

mzntori tf 🤜 🔔

fast bear
# stuck oasis maybe consider spending some money on auto moderation instead of a 10k price poo...

I don't think you realise that we put resources into multiple things. the events team and the dev team are seperate... The dev team that made the pickems stuff wasn't even our own. They both get enough money to do their jobs, it's just that development is a longer process. Giving a 10k prize pool is literally unrelated to auto moderation in every aspect. We're actively working on improving the site, extension and auto mod stuff. Can't have anything good without complainers classic

forest swift
#

mods also can't be here 24/7, if you see something like that ping me and i will take care of it

stuck oasis
#

i do realize you guys put resources into multiple things and i get that discord bot prevention isn't the main issue 7tv faces right now (slow cdn for weeks now lol) but i feel like there is a massive lack of competence when it comes to deciding what resources work on. For example 7tv poses itself as an emote platform yet the last really new feature regarding emotes was years ago aside from v4 rework. Features pushed by devs nowadays are minor "bug fixes" that partly remove features like the removal of a lot of characters in emote(set) names or things like google tracking which inserted cookies without asking people for permission which is illegal in the eu. the only real feature the last 2 months was the kick integration which as far as i can tell was +163 -29 lines (https://github.com/SevenTV/SevenTV/commit/74c2b58b10a43ecb98b53fc64990dc83c89e04b3 correct me if i oversaw a commit that added actual code to this aside from this one) compared to the +2772 -104 lines the pickems stuff was as far as i can tell made by 2 admins and 1 dev of yours so i dont really understand what your argument is. If i understand correctly the pickems website was not yours, but you still invested by far the majority of lines (publicly) written by your devs to the pickems stuff. (https://github.com/SevenTV/SevenTV/pull/227). But the idea 7tv has of what product they want to be is clearly not an emote platform. You had the stage of nymns new years and the feature you anounced was a paint shop, which directly profits 7tv. Any event 7tv participated in or created (execpt nnys) in the last few months only provided paints or badges to the user. (Domos, Minecraft, XMAS gifting, csgo, valentines). No special emotes, emote sets, emote slots or whatever. This is not an emote platform anymore the whole thing is about getting people to buy, win, or sub for cosmetics, and you cant have anything good if you dont release good products for your users not because of complainers

GitHub
  • feat(api): kick oauth 2.1 login

  • feat(website): enable kick login

  • add kick config

  • fix linking

  • rename cookie

  • add reference to docs

GitHub

GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

#

better bot prevention would be cool too tho :D

sullen edge
#

i just changed automod rules

#

(it didn't require $10k budget LULEBB )

stuck oasis
#

thanks

solid gale
#

holy shit

#

thats a bit of text

plush kayak
# stuck oasis i do realize you guys put resources into multiple things and i get that discord ...

I agree with you. it feels like everything about the actual platform is just stale rn. like there's events and stuff but besides the kick integration there have not really been any changes. I think it's partly because lennart was kinda carrying but now he's gone. there's a bunch of things that could and should be changed about the website but nobody's working on it. the extension too. everything just takes so long, always.

#

sounds a bit corny but 7tv hasn't been the same since troy and lennart left SadPag

#

and is the slow cdn thing still an issue?

fast bear
#

yeah it's slow because Russia cut internet services between our servers and the rest of Europe after they left

fast bear
# stuck oasis i do realize you guys put resources into multiple things and i get that discord ...

the cosmetics are literally 10 mins of code. Our designers create a paint and all our Devs do is apply it to accounts. The fact that you are saying our focus has been on monetary gain when that's literally 0.1% of dev resources is insane. Paint shop again isn't something we're working on now because we're working on.... Improving the infrastructure and site. Hence it's removal. Of course you don't see behind the scenes so you can't make an accurate assessment of the dev work but if you're this uneducated that you think applying paints over shadows actual Dev work maybe reconsider making comments in the future nanaAYAYA

jagged lava
stuck oasis
#

I never said applying paints overshadows actual dev work. I literally said that my point applies only to dev work done that is publicly available in your source-available repository of an source-available project. Please don't strohmann me (I also never said that your (2? 😭 which one of them is doing this shit for free man) devs aren't getting paid enough as you said in your message before btw). What i am saying about the paint shop is, that for an self proclaimed emote platform, it is quite sad to see the obvious lack of interest in providing features for and/or emotes itself when there are very good opportunities to do so. That lack of interest in emotes especially shows at stuff like the valentines event where cosmetics are just sold basically.
But considering the other 99.9% of dev resources are currently going into features not for pure monetary gain and we just recieved a 2700 line pr for the pickems shit im hyped to see what the 2.7 million lines (or similar work load aside from just coding of course) of other features will be 🥳

#

Also wanna take back the hate on the minecraft event, it was nice that half of that revenue was donated to charity, but i think my point still stands.

swift bough
#

shouldve spent the other half on cdn servers lol

sullen edge
#

I hope you guys realize that the CDN issues are not being ignored, there is just no easy fix and it's not even about the money

#

Hosting a tournament is not mutually exclusive with the fact that it's being worked on

#

We want CDN to be functioning properly as much as anyone else here or more

stuck oasis
#

its not really abt the tournament i heard from people that watched it that it was well organized and hosted and i realize its sponsored. it was a mocking remark i made because its just funny that all the news channel is abt nowadays are events where 7tv gains money from (probably)

sullen edge
#

It's just difficult to give an update on something like this, so it might give the wrong impression as if it's not the highest priority at the moment

stuck oasis
#

but not going to engage in this conversation further, i think i've made my point clear

sullen edge
#

We could sit idle while waiting for the resources we need to fix the CDN or we could do other things in the meantime anyway, latter option seems better, it doesn't slow down or affect the CDN fix in any way

rugged perch
#

If you want to speak about 7TV work being wasted/spent more on events and paints and badges more than actual site features and important fixes. EVERYTHING is being considered. But not all of it is public. So CDN is being fixed ASAP, Site is being worked and being fixed from every corner, AND the backend is getting more queries, API fixes and more stabliltiy fixes. 7TV isn't prioritizing events and money winning situations. It's just that those ARE public to everyone. unlike the rest. And you can't expect in 1-2 months to see a HUGE change after new devs join. New devs are looking for bugs/solutions/quirks to fix everything. It isn't an easy thing for sure ( You can try it and see how it goes ). EVEN the issues on the github are being fixed currently. It's just that it isn't a fast and instant fix. When you think of the fixes that are people mostly complaining on. These can take LONG times ( hence why old devs didn't even bother fixing them ) Example the extention lag and website quirks. If they were very easy to fix. old devs could've just fixed them already. But they take some time to fix.

#

So when someone says

there is a massive lack of competence when it comes to deciding what resources work on
It's not about the massive lack. It's about the resource, time, and effort. you cant just fix an extention that literally needs a full re-write because of the new manifest. You see how massive the code of the extention is? So it does need resource on finding best solutions. Time for actually re-writing every single feature WITH testing. And effort to make it as stable and as good as possible.

#

I hope this makes more sense to anyone who's concerned about 7TV prioritizing money plotting rather than fixes and development. Think of it as ( Let's make a frame of a tv to sell ) VS ( Let's make/fix a full TV )

paper token
#

it's also a little funny to me to imagine a world where someone would say "You need to spend more money on servers and hire more devs" (both expensive) while also saying "you should stop doing the things that actually make money in the meantime."
I know no one was seriously trying to say that though.

unborn wedge
#

yo when is the API website coming back

#

like the documentations and stuff like that

topaz crown
unborn wedge
#

ooooohhh

#

thanks!

swift bough
topaz crown
swift bough
lapis tulip
# rugged perch If you want to speak about 7TV work being wasted/spent more on events and paints...

if we're talking about api-fixes, when can we expect a consistent api regarding emote name handling?

currently, in your v4 gql, there is inconsistent behaviour when dealing with special characters (&, äöü, etc) in emote names.
depending on the action used, you validate them differently (or when adding an emote, there's no validation at all)

specifically:

adding an emote with special chars works:

mutation {
  emoteSets {
    emoteSet(id: "01JNR5CFDWVFC2XA468WWJBMS3") {
      addEmote(id: {emoteId: "01GZ2RA96G000FS44VS4P13CD7", alias: "&mine"}) {
        id
      }
    }
  }
} 

renaming an emote with special chars to a name without special chars works:

mutation {
  emoteSets {
    emoteSet(id: "01JNR5CFDWVFC2XA468WWJBMS3") {
      updateEmoteAlias(id: {emoteId: "01GZ2RA96G000FS44VS4P13CD7", alias: "&mine"} alias: "test") {
        id
      }
    }
  }
} 

renaming an emote to include special characters fails:

mutation {
  emoteSets {
    emoteSet(id: "01JNR5CFDWVFC2XA468WWJBMS3") {
      updateEmoteAlias(id: {emoteId: "01GZ2RA96G000FS44VS4P13CD7", alias: "test"} alias: "&mine2") {
        id
      }
    }
  }
} 

error: message: 'Failed to parse "String": invalid emote name'

this issue has existed since the release of v4. a github issue was opened a month ago (https://github.com/SevenTV/SevenTV/issues/216), and it has been raised in this channel before - without any response.

rugged perch
round wind
lapis tulip
rugged perch
sullen edge
#

bro said devs in third person

sullen edge
#

SHUT UP

#

IDIOT

rugged perch
#

Tomfoolery 🤏

lapis tulip
rugged perch
#

but Also I just wanna tell you. You said that pickems got lots of comits +2772 -104 .

#

This is 1 branch of the fixes we're doing in the background

#

So we are cooking for sure HECOOKING Just slowly because it's Ramadan HalalChad

stuck oasis
#

never said it's a lot of code, just compared to other public changes. Which repository is this? FeelsDankMan i was under the impression 7tv was source available and development was public

#

FeelsDankMan always need a source available

#

FeelsDankMan 〽️

rugged perch
#

Oh no this is like for me on my repo xdd

plush kayak
#

why can't a fix be pushed when it's fixed

#

why does it have to be piled up and then released all at once

#

it just doesn't make sense to me esp when they're pretty big annoyances

rugged perch
#

It doesn't have to be.

#

I just me personally chose to do it locally then when I'm done I do a branch and push it there

stuck oasis
#

that seems like very bad practice but ok deadass

rugged perch
#

4Shrug bad habit of me and being fixed for sure

lapis tulip
#

elisEeer so you commit and deploy everything from SevenTV-Private and once everything is finished/after the events you commit it to the public repo?

stuck oasis
winged pecan
#

after reading all of this, reflecting on mzntori's opinion;

let's acknowledge the fact that 7TV promoted itself for at least a year or so as a 3rd party emote extension for three platforms when in fact only one platform worked in that timeframe. at least Kick has OAuth now, even though account linking was indeed possible without it ~2 years ago using a workaround. the extension for Kick is barebones and it barely works anyway. it was broken for YouTube since ages. but who cares about Kick and YouTube anyway when you have Twitch, right?

also the Chrome extension is on the verge of being disabled globally due to Manifest V3 enforcement, uBlock Origin was nuked recently, so it can happen anytime. Google pushed for Manifest V3 compliance for a year or so, it's a matter of not loading the content script remotely and having Google scrutinize the code with each update (boo), not really a matter of a "full rewrite", though that's probably a good idea anyway considering the backend developments and the V4 API – the one with zero developer docs documenting it for outsiders

and emote search on the website is almost useless. fortunately however, people can pay for a couple new namepaints each month to feel unique, so the masses have their (c)opium at least sakFeelsOkayMan

swift bough
#

cdn when emotes elisSleep
cdn when shitfuck 123 namepaint LockIn

rotund pivot
#

Paints only fail if they have an image instead of a gradient

low copper
low copper
#

maybe worth making another announcement or something

solid gale
#

conclusion:

sullen edge
stuck oasis
#

i mean you clearly dont care about talking abt it in here so why not tell people whats going on

stuck oasis
#

extremely serious

iron monolith
#

hello cool people
where can I find the docs for the api (specifically the emote fetching)

rotund aspen
#

or github repo

topaz crown
#

since it gets asked so much

rotund aspen
#

true, I can't do that tho

topaz crown
#

catAsk somebody do it

forest swift
#

i can

#

write a good one and i will pin the msg

#

comprehensive and clear msg

topaz crown
#

7TV API Documentation Resources

Official API Documentation (v3)

Check out the documentation for 7TV REST API v3:
https://7tv.io/v3/docs

GitHub Repository

Browse the source code, report issues, or contribute to the project:
https://github.com/seventv/seventv

GraphQL Playground (v3)

Experiment with the GraphQL API using the interactive playground:
https://7tv.io/v3/gql/playground

GraphQL Playground (v4)

Experiment with the GraphQL API using the interactive playground:
https://7tv.io/v4/gql/playground

Event API Documentation

For details on implementing the Event API, refer to the README in the repository:
https://github.com/SevenTV/EventAPI/blob/dev/README.MD

topaz crown
forest swift
#

thanks ryan

rotund pivot
#

@sullen edge

signal orbit
#

@sullen edge

#

steame

sullen edge
#

i automodded for $50 and it was 50$ this time

#

should be good now

stuck oasis
#

DyingLaughing anson

plush kayak
#

@sullen edge

cyan nest
#

@sullen edge

rotund aspen
#

yeah they expire, you can ask for a persistent one if you need it for your app

rotund aspen
#

DM @quick ibex

south sundial
#

@quick spear

#

he sent it on every channel

waxen sleet
#

@sudden gust Where does the config for the image processor go ? I can't find where it should go

mortal fossilBOT
#

ilianokokoro is no longer AFK: Probably playing Marvel Rivals (21h, 28m ago)

sudden gust
waxen sleet
vocal acorn
#

is 7tv down right now?

ionic yarrow
#

yes

topaz crown
#

seems to be the case

swift bough
#

@rugged perch change default portuguese to brazilian portuguese (the real portuguese) real

#

the portuguese have arrived scawy

#

mods scawy

fierce idol
#

i requested a language ages ago, is there a chance it might be added any time soon?

#

one day

raven glade
#

are there any european portuguese doing translations? I peeked at the pt-pt translation and it's all Brazilian

#

sounds good. I'm native from Portugal so I'll provide help

valid holly
#

I participated in the French translation and corrected mistakes o7

waxen sleet
#

Si tu regarde dans #i18n on avait dit que emotes c'est masculin

distant phoenix
#

add swiss german to the translation page trollHD

valid holly
valid holly
#

après mec ça fait quand même bizzare de dire "un emote" ça serait plus "une emote" pour le mot "une émoticône" qui est un nom féminin dans le dico français

#

@waxen sleet

#

puis une emote exprime UNE emotion fin ça me parait plus logique que ce soit féminin

#

Et surtout le "emotes globaux" ça fait vraiment pas Français, après tu es québécois donc je ne sais pas comment vous dites la bas mais en Français (France) on dit Emotes globales

waxen sleet
#

Le modo qui va s'occuper de confirmer les traductions va choisir

shy epoch
#

when will I get 7tv translator badge? if I will receive one

rotund aspen
rugged perch
#

It won't be anytime soon. I'm still trying to put all the missing strings

valid holly
rotund aspen
#

I don't think there's any deadline feelsd

#

it'll be translated when it'll be translated

valid holly
delicate mica
#

oh man i sure love developing

#

am i right guys

signal orbit
#

@sullen edge

#

@quick spear

shell gazelle
#

COPIUM lol

stuck oasis
lapis tulip
stoic bison
rugged perch
#

If it doesn't require much Rust aka backend knowledge. I can work on that

fierce idol
stuck oasis
#

youll be fine, rust is really easy to read

rugged perch
#

Ok then I'll probably work on this after I'm done with admin tools and converting all 7tv website to i18n.

waxen sleet
swift bough
#

is there even a rest api for v4 for you to document

lapis tulip
#

there's like one endpoint to document for rest

stuck oasis
#

i mena honestly i was joking tbh, if anything some kind of tutorial would be most relevant yuh

rugged perch
#

One of my long term plans is to make the API have proper endpoints instead of just anyone using GQL

#

But I'm still learning Rust from every corner. So that'll take some time

swift bough
stuck oasis
#

why, gql is a proper endpoint

#

people just dont know how to use it

swift bough
#

gql is perfectly fine, especially with the playground

rugged perch
#

Well in that case maybe a small documentation about GQL prePffttt

ebon lichen
#

i logged out of twitch and then logged back in
now all my paints and badges say none

rugged perch
#

Can you send me your profile link?

#

Maybe you are logged in a different twitch account? thinking

#

an Alt or something

ebon lichen
#

nope

#

i changed my twitch name after i had it all

#

but that was months ago

rugged perch
#

What is your twitch username?

#

and what was your old one?

ebon lichen
#

"Feikatron" - it was ofeik

rugged perch
#

Your sub apperantly ended? Hmm

#

Did you have any emote sets as well?

ebon lichen
#

oh

#

none

rugged perch
#

Ok then your sub just ended

#

it ended 2 days ago

ebon lichen
rugged perch
#

If you resub they should be available

ebon lichen
#

do i just have to fix my resub

#

ok

#

ty

rugged perch
#

No problem. Lemme know if it doens't work FeelsOkayMan

ebon lichen
#

one sec

#

where do i resub

#

i can't find it

rugged perch
#

Now they are all back FeelsOkayMan

ebon lichen
#

❤️

rugged perch
#

No problem Okay

ebon lichen
#

or is it just wait each month

rugged perch
#

I guess you gotta wait for giveaways or events

ebon lichen
#

ooo oki, sounds good. Thanks!

#

show me some of yours!

rugged perch
#

I'm an admin. I have all of them. Pfftt

ebon lichen
#

shiiiiiiiiiiiiiii

ebon lichen
rugged perch
shell gazelle
fierce idol
#

who’s gonna tell him

shell gazelle
fierce idol
#

they are most likely spamming presence updates

#

and using third party scripts to change paints

shell gazelle
fierce idol
#

mods

shell gazelle
#

I didn't run it CAUGHT

fierce idol
shell gazelle
#

👼

swift bough
#

its not against the tos why is bro calling the mods

shell gazelle
fierce idol
#

we don’t encourage that kind of behavior around here…

swift bough
#

bro thinks hes on the mod team

fierce idol
#

i’m like a shadow mod

#

so you better watch your step

rugged perch
stuck oasis
rigid narwhal
#

What's going on in here

vast panther
#

good

#

how do i get subscriber badge

rotund aspen
lapis tulip
vast panther
rotund aspen
#

link your profile

shy epoch
#

why is it so difficult to get them approved

foggy bloom
zinc aspen
#

DinkDonk quick send is broken for me and a few other people

#

(ctrl+enter)

paper token
#

control + enter does indeed seem to not retain the message

waxen sleet
#

The magickeys from vue stopped working so every shortcut that uses them is broken. They always return false.

import { useMagicKeys } from "@vueuse/core";
const { ctrl: isCtrl, shift: isShift } = useMagicKeys();
zinc aspen
#

wild

#

why not just fucking check inputs normally

waxen sleet
zinc aspen
#

why wouldn't it be that simple

#

isnt there a way to capture input directly with js

#

like

waxen sleet
#

You would need to add an event listener

zinc aspen
#

so just do that then?

swift bough
#

just OfCourse

waxen sleet
zinc aspen
#

i was just bringing attention to it

#

lmao

stuck oasis
#

web chatters xd

sturdy berry
#

How can i install this fix in chrome?

rotund aspen
rugged perch
plush kayak
#

but if smth like this already exists why even bother with it

tepid quail
#

So, I noticed that when I tried to update an old emote, its aspect ratio is no longer supported (it's around 4:1). Was this unintentional and will 4:1 emotes come back, or is this a new limit to 3:1 and 4:1 emotes are never coming back other than the existing old ones?

#

That and when uploading a gif emote, there tends to be a stutter, like one frame being added or holding on that one starting or ending frame, which is more noticeable in emotes that are face and only 2-4 frames. You don't see this while adding in the emote, only after it's fully uploaded and has its own page.
I am not sure if this was already fixed though, because I found a way to get around that issue as well by uploading a WebP file instead of a GIF file.

stuck oasis
#

whats the emote

#

im pretty sure the aspect ration can be 4:1 as long as the width doesn't go beyond i think 336p

#

its just gonna get padded into a 3:1 emote

tepid quail
#

here hold on, here's some images and the emote proper (first is the old upload, second is the attempt, third is the work around)

stuck oasis
#

better work around is to pad it with transparent pixels to 128x384

#

you ccan do that in ezgif with the extend canvas size button on the crop tool

tepid quail
#

I thought about that, but it also makes the over all pixel size smaller, which the users do not want either

#

but my main point was hoping 4:1 will stick around and not be phased out

stuck oasis
#

it was never a thing

#

the old API just scaled it down to a cropped 3:1 emote

brazen oyster
#

how do i fix this

rigid narwhal
tepid quail
stuck oasis
#

oh well yeah the actual files are actually that ration but afaik emotes being rendered properly shouldnt allow emotes wide than 3:1 atleast tahts how i assume the extension and also cahtterino does it

#

otherwise you would be able to have almost infinitely wide emote

#

well for what its worth in twitch chat

tepid quail
#

I am not too sure if that's the case, because there's a whole section of 4:1 sized emotes that worked fine before, 4:1 emotes are real and dont get shrunk or stretched out

#

I even opened some images in this 4:1 and their pixels still add up to a 4:1 size, so they're not being changed in any way to fit into 3:1

stuck oasis
#

thats not what i am saying send me the original emote link

tepid quail
stuck oasis
#

do you see how it is still locked to be 384p wide on chatterino and web chat

#

the line just gets smaller

tepid quail
#

hmm

stuck oasis
#

so it doesnt actually amtter if it is a 4:1 file

#

ifyou have a chat overlay that displays them differently then its a bugt with the chat overlay

#

and i assume it was a bug in the old api as well

#

or just a weird feature idk

tepid quail
#

still, it's odd that the original link still has the pixel ratio at 4:1 but now says that ratio isnt available anymore

#

got me all confused lol

stuck oasis
#

well yes thats probably because it was uplaoded on the old api i assume

open coyote
rotund aspen
ebon lichen
#

any staff around?

#

need some help

#

when trying to log in

topaz crown
plush kayak
#

🤣

robust raptor
#

waiting till uptime SpongeBob_Dance

chilly viper
#

someone forget to rotate certs or? The main site is up, but clicking through anywhere else throws errors

keen aspen
restive oak
#

Klassiker cloudflare problems

idle holly
#

where can we check about it from cloudflare?

#

or it's not mationed?

lone marsh
fierce idol
#

why my emot brake, pleas fix

surreal cosmos
#

freetings looking to add 7 tv to webview to any help or is this in development?

stuck oasis
tawny glen
#

EMOTES STILL DONT WORK ON TWITCH

stuck oasis
#

YEAH NO SHIT

rugged perch
vapid flint
#

is the website using comic sans? liminalkot

#

oh it's first of april uuh

swift bough
#

AlrightAsk postmortem blog post of the downtime

fluid osprey
#

what's wrong with the font on the website ?

forest swift
#

April fools

waxen sleet
fluid osprey
#

oh

#

didn't even realise it was first of april today

south cairn
#

7tv went down to add font??

sweet cove
#

and a nasty comic sans

pure dagger
#

So I had https://7tv.io/v3/users/twitch/ID working for a few month, recently I saw, that for some channels this does not work anymore, there is no emote set returned.
On the website I can add and remove emotes.

Could this be related to the outage?

Works for my channel ID, but not for some others

stuck oasis
#

what id does it not work for for example out of interest

pure dagger
#

There should be 161 emotes already added:

stuck oasis
#

seems like its just disabled

#

this is my profile

#

it also returns null

#

but i can activate an emote set

pure dagger
#

Gonna talk to the streamer then, thanks!

stuck oasis
#

wait actually after reenabling the set it still returns null

#

ah nvm now it updated

#

seems like it takes a while

#

wait no im stupid it still says null

pure dagger
#

It worked for that streamer, the link now returns emotes again

stuck oasis
#

oh ok thumbsup

pure dagger
#

Very weird, they did not deactivate them ...

pure dagger
#

BTW, thank you @stuck oasis

stuck oasis
#

np

forest star
inner drift
#

hello, I'm setting up a shitty script to run a bot using discord.js lib in js as well.

I've got a .json file with the specific emote set ID's and alphanumeric codes, which then suffixes the 4x.webp etc onto the array/variable in-memory since using the normal alphanumeric ID via the cdn/API endpoint returns a 400 response which is expected.

Is a 15second delay fine to retrieve and send the emote URLs if it requires downloading the json schema from the set? I'm just thinking going forward if there's other emote sets I wanna steal from, it can just yoink the .json into a local path as currently it expects the json schema from: emote_sets.rs #[utoipa::path( get, path = "/v3/emote-sets/{id}", tag = "emote-sets",

It can just use that path for the v3 API, grab the specific ID and then just dump it into a json file so it doesn't keep running the request over and over.

#

idk, just wanted to throw it out there. Don't wanna nuke the API. Smile

#

it is kinda fucked at the moment, it only posts a raw text string and not an actual slash command, but maybe this could work: https://discord.js.org/docs/packages/discord.js/14.18.0/SlashCommandBuilder:Class

discord.js

discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.

#

ok, well. Was worth a shot I guess... pity.

swift bough
#

PagMan I EARNED 100K

#

SCNOOMYMILK MY 100K

prisma dew
#

Hi guys, can I discuss custom script development for Twithc here?

stuck oasis
#

what does that mean

violet flint
#

is there not a way to get the active emote set of a user thru the v4 api or am i missing something

ionic yarrow
#

if you're talking about gql, you can get the active set under style

  users {
    user(id: $id) {
      style {
        activeEmoteSet {
          id
        }
      }
    }
  }
}```
gaunt magnet
#

Hello, Chatterino guy here again. I'm having users report issues loading 7TV emotes. This looks related to the CDN & IPv6. This issue seems to have more insight on the issue, https://github.com/SevenTV/SevenTV/issues/209, is this something someone could look into?
Thank you! ❤️

vagrant lion
rigid narwhal
#

@quick ibex @rugged perch DinkDonk

nocturne monolith
#

Hello, I have a quick question: is there an API endpoint I can call to get 7tv user id by the kick username?
I am sorry if this is a stupid question, but i can't find the docs anywhere

rugged perch
rugged perch
nocturne monolith
rugged perch
#

That means the user probably does not have Kick connected to his 7TV account

#

What's his/her username?

nocturne monolith
#

he does have a connection tho

rugged perch
nocturne monolith
rugged perch
#

No problem at all FeelsOkayMan Usually the first ID that kick returns in that endpoints is chatroom id. which you can subscribe to, on their pusher to connect to the chat etc... Glad it worked

gaunt magnet
sullen edge
gaunt magnet
#

copy that, some update in the issue would be great to link people to when they report issues with loading emotes Prayge
thank you @sullen edge

sullen edge
#

most likely it's the same thing

#

there was also an issue with one of the nodes from time to time so it was kind of RNG based if you get load balanced onto that faulty node and then basically nothing would load - from what I know (but my knowledge of this is limited, not a dev LULEBB ) it was in some way related

rotund aspen
gaunt magnet
#

ah yeah that's basically what's listed by Brian in the GH Issue as well

#

tyvm

hushed siren
#

website is borked

rugged perch
#

Shouljd be back now

foggy hinge
#

It's still fucked

glacial estuary
#

+1 adding emotes to channels seems borked

#

and new uploads arent being processed

foggy hinge
#

they are processed

#

the backend's just not receiving the signal

swift bough
#

also the CDN is even slower tonight and I didn't even know that was possible ngl

rugged perch
rugged perch
swift bough
glacial estuary
rugged perch
#

In that case they might need to be dropped manually

#

Lemme notify backend devs

#

Try re-uploading

#

See if that does the trick for now.

rugged perch
#

Re-uploading should work. and delete the old uploads

grave surge
#

i somehow got an infinite scroll bug and 7tv just kept loading emotes i did not interact with the page at all and this is the result (500mb loaded), this does not happen with (Chrome 134.0.6998.165) on the same system. Also was not able to recreate in (osx 15.4.1, Firefox 137.0.2). idk if this bug happens a lot but i thought i would let you. Maybe its a non issue and its just on my end(Linux Mint 22, Firefox 134.0.2 (64-bit)) @fast bear@rugged perch @quick ibex

distant phoenix
signal orbit
grave surge
forest swift
#

there's no need to ping people, devs and mods read through this channel

#

if something slips through you can repost it

rugged perch
#

On what webpage does this also happen?

rugged perch
#

@grave surge It should be fixed now FeelsOkayMan Thanks to @quick ibex

swift bough
#

is 7tv just closed source now?

rotund aspen
swift bough
#

ok but there hasnt been a commit from the actual devs in over a month

rotund aspen
#

tho I don't think they push recent changes to the repo immediately

solid gale
#

pretty sure this was talked about before, no?

#

and from what I remember theres a private repo where they push the commits and then theyre pushed to the public one

#

unless I misunderstood something?

rotund aspen
#

yeah I think it works like that now

swift bough
#

thats weird af but ok Alsprite

solid gale
#

but it is what it is

swift bough
#

makes me feel bad for the guy opening dozens of PRs on github who has to work on an outdated af version of the repo XD

solid gale
swift bough
hearty flare
#

When I subscribe to a specific event like "emote_set.*", events that I'm not subscribed to will dispatch for some reason. Is this a bug?

topaz crown
#

iirc it’s only when you use a twitch channel id and not the set id

tight terrace
#

Weird little issue with the website if the window is squished together. Using firefox on win 11.

#

See? No help buttons or anything

waxen sleet
rotund aspen
#

oh oopsie

waxen sleet
#

lol

rancid tulip
#

8tv is needed

solid gale
#

usually happens when I switch to another tab

#

didnt see that happen ever before, so thats kinda new I guess?

distant phoenix
#

yea this error has been coming up alot over the last ~2 days maybe

rugged perch
#

Could be a missing endpoint

#

Can you see what causes it? What endpoint?

solid gale
#

@rugged perch Ill dm you when it happens again

sudden pine
#

Hello , waned to ask if V3 api will be supported later on?

lament hare
#

Hello, I have built a twitch bot (only supports twitch at the moment but could absolutely do the others) that tracks emote usage. Most used, least used stuff like this to help people decide what to remove when they have full emote slots.

I wanted to make a really quick picture to use for it's channel and whatnot and I am curious if it is okay to use the 7tv logo in it as.. well the entire point is to track 7tv platform emotes in a chat.

Sorry if this is not the correct space to ask this either, I would just rather be told no than to upset someone.

narrow timber
#

Anyone know how to list channel specific 7tv emotes through its api?

rugged perch
#

you can replace twitch with any of the supported platforms and the id with the right ID of the platform.

wild dock
#

Is it possible for the next releases of Chatterino7 to also have a version compiled with the CMake option CHATTERINO_PLUGINS=On?

real sorrel
#

Ah I accidentally removed it in some merge commit

#

I’ll add it back later but we want to get rid of it before the next release anyway

#

Also funfact: c7 enabled it before c2 (probably the reason this is messed up right now)

distant phoenix
#

hi mods/devs, since we (help center people) havent gotten a channel yet, can someone explain this

rotund aspen
#

no idea why this happens

distant phoenix
#

Olrite i will tell them

real sorrel
bold kettle
#

I'm looking at 7tv paints and I'm curious how the Staff Shine is handled? Cause it's not an opaque image since it's mostly transparent and just shines, am I supposed to show both the underlying normal twitch color and the shine above it? Is this the only paint like this? I've never seen any other paint be like that, the others are fullly opaque images. This is how it is in the gql:

{
  "angle": 0,
  "function": "URL",
  "id": "01FQB6K5T0000BDD0YMN21KEXX",
  "image_url": "https://cdn.7tv.app/paint/01FQB6K5T0000BDD0YMN21KEXX/layer/01JAMR1DWJ14HBYADTC6Q634WR/1x.webp",
  "name": "Staff Shine",
  "repeat": false,
  "shadows": [],
  "shape": "circle",
  "stops": [],
  "kind": "PAINT",
  "color": null,
  "text": null
},

The issue with showing the normal twitch color underneath is because css is stupid as fuck that would mean cloning the username and positioning it absolutely underneath, but with my application users can @ mention other users and it shows their paint in the @ and since linebreaks can be anywhere that doesn't work cause the absolutely placed one wouldn't break but the painted one would.

#

It also causes issues when names are truncated

#

nevermind I severly overthought that, I just set the background color to the username color and the paint shows above that xdd

solid gale
#

the store page sometimes barely loads

#

sometimes doesnt load at all

#

same goes for the cosmetics page

#

dont know about the other ones like emotes etc

#

just not something that should happen this often

#

and Im aware of the fact that the servers sometimes just do that, but this has been happening for the past days if not a few weeks at that point

distant phoenix
#

7tv not working again, what a shit fucking platform this is. The creators of 7tv must be fucking jerking off to hentai porn instead of fixing this shit fucking plugin. Actual brainded people i cant beliv it

solid gale
#

I mean yeah its another one of these reports but the fact that I can barely access the site at all for this long is quite odd non the less

#

the failed to fetch is appearing more frequently than ever

distant phoenix
#

somehow rn its working perfectly fine for me but yesterday evening and today basically all day its been pretty awful to use CRASHOUT

solid gale
#

I've been just checking if I got my 9 month badge which should've been given today if not yesterday, and I had to refresh at least 3 times just to access what I wanted to see

#

Surely tomorrow is the day

solid gale
#

today wasnt the day

paper token
gray patio
#

And I remember that there was a good API documentation, but I can't find it anymore

rotund pivot
#

check pinned

gray patio
rotund aspen
#

but if you don't want to, I guess gql is the only option

vernal grove
#

anyone know why my emotes have been pending for about a week? :( im subscribed

stuck oasis
#

are you sure they arte pending and just havent been accepted

vernal grove
#

that means they havent been approved yet right? so i cant upload any more

stuck oasis
#

unlisted can also mean they just havent been approved

#

whats the emote

vernal grove
#

yeah when I try adding new ones it says "too many pending moderator requests" which i feel like means they aren't approved

rotund aspen
vernal grove
#

damn i guess im tripping then

#

but still they generally take about 6hrs at max to approve since ive been a subscriber

lapis tulip
#

is there a recommended way to get the global emote set using v4?
i'm not too fond of using the hard-coded id since it might change for halloween or christmas?

to my knowledge there's no such thing as in v3 https://7tv.io/v3/emote-sets/global ?
there is an implemented kind in v4 emote-sets, which could have type global but the current global emote-set is of kind normal so that's useless too

stuck oasis
#

i think this was asked here before and the conclusion was that you should probably just use the v3 endpoint

lapis tulip
plain orbit
#

what is the payload for websocket emote activity? like subscribing to a channel

topaz crown
plain orbit
#

and according to docs it's wss://events.7tv.io/v3 ?

plain orbit
#

okay thanks AN_smile

plain orbit
#

what is the endpoint and data for adding an emote to an emote set? I've tried a few things

plain orbit
#

I got it working :)

whole gale
#

found it

plain orbit
#

is it possible on emote added to emote-set to get the alias set if it differs from the name?

#

oh nvm

#

I was looking at the wrong data

foggy hinge
#

No emotes can be uploaded at the moment.

quiet escarp
#

i keep getting this error when i try to sign on 7tv in twitch status":"Bad Request","error_code":10000,"error":"Failed to deserialize query string"}

pearl ore
#

Did the extension break for anyone else? FeelsDankMan Is bro good? How is the IndexedDB version too new? dies (extension v3.0.9)

#

But not in private browsing...

soft mesa
pearl ore
#

No wait, is it broken for everyone?

#

I didn't think for a second lol

soft mesa
pearl ore
#

So uhhh, what do?

soft mesa
pearl ore
#

Maybe I need more sleep, but this seems like barely a problem

#

Also, me when no incident on status.7tv.app

soft mesa
paper plover
#

who are the devs for 7tv right now? did troy and lennart left?

pearl ore
#

I already asked them if they have CF access and they said no lol

pearl ore
paper plover
#

i dont see them in the admin role, nor any recent commits in 7tv repo, so i guess not

pearl ore
#

This is like such a bad issue to have too

zinc aspen
pearl ore
#

All the 7tv devs I know are asleep as far as I can see

zinc aspen
#

also no, the new dev hasnt really interacted with anyone much

pearl ore
#

???

#

Who are they then?

zinc aspen
#

afaik there is only one dev rn

#

like, with admin i mean

pearl ore
#

I know (heard of) fkt789 and Excellify, any of them?

pearl ore
#

This is like a S-1 issue and shit

#

Impacts literally every user of the extension

zinc aspen
#

idr the name

#

i'd say ask charlotte but she's offline too

pearl ore
#

Man, they should add me to CF

#

Or maybe you, idk, your timezone would probably be better

#

I also live near EU

zinc aspen
#

that and i also have dogshit sleep schedule so im up until like 5am anyway

pearl ore
#

How is literally no one online to fix this, crazy

#

Huge ass project, no?

zinc aspen
#

i wanted to be a dev but i need to like

#

actually learn rust first PEPW

pearl ore
#

Do Vue lol

zinc aspen
#

-# also i still need channel permissions to be fixed and for more stuff relating to subscriptions to be added to the api

paper plover
#

another restructure GachiPls
7tv v4

pearl ore
#

How is this project so dead, wtf. Why did all the cool people leave?

zinc aspen
#

-# because i still cant make the fucking bot do its job without access to more subscription related info like when someone subscribes or unsubscribes

zinc aspen
zinc aspen
#

yeah and

#

those were the only people with full access to everything

#

so even if they were still here we'd need one or both of them online

#

and idfk who the new head dev is

paper plover
#

only excellify developed from start to right now

zinc aspen
#

but even then they don't have direct access to anything right

#

like

#

they can develop but they can't push code?

#

or like

#

access CF?

pearl ore
paper plover
#

dont think so

paper plover
#

there's no announcment anywhere about internal structure change so idk anything about who are the devs now

pearl ore
#

What a classic

tawny glen
#

ayy 7tv is like down

#

check my help post

paper plover
#

yes we know

shut dragon
paper plover
#

it's down for everyone

pearl ore
#

We know, we can't do shit, devs are asleep

tawny glen
#

oh

zinc aspen
#

its just the extension afaik

pearl ore
#

We don't have access to the shit needed to fix the issue

slate ridge
#

oof

tawny glen
#

check my help post

pearl ore
#

And it's just the extension

zinc aspen
#

website still looks like it works

slate ridge
#

had a feeling

pearl ore
#

Everything else works fine

zinc aspen
#

anyway kathi responded in dms

#

hopefully they have charlotte's phone number or some shit

#

or like contact with the lead dev

#

praying

tranquil nacelle
paper plover
#

was there like artifact codes from anatole that made the whole 7tv project hard to develop?
or like this project is hard to work on in general

tranquil nacelle
#

processing is just halted

pearl ore
tranquil nacelle
#

There was supposed to be this full re-write to solve issues, but some of the same issues still crop up

#

And now we're on whatever is happening

pearl ore
zinc aspen
#

charlotte is up

#

according to kathi

paper plover
#

money is not the problem
the cost of running the server is not that much (according to troy), and there're quite a lot of subscribers paying 3.99 a month

zinc aspen
indigo pewter
#

where is your manager hmph

zinc aspen
#

lowkey they need to make so more than just charlotte and the leav dev have stuff like CF access

tranquil nacelle
#

Did the sale happen in december?

zinc aspen
#

wdym

pearl ore
#

The bus factor (aka lottery factor, truck factor, or circus factor) is a measurement of the risk resulting from information and capabilities not being shared among team members, derived from the phrase "in case they get hit by a bus".
The concept is similar to the much older idea of key person risk, but considers the consequences of losing key t...

tranquil nacelle
# zinc aspen wdym

if too many people got hit by the same bus, the company would collapse

#

etc

zinc aspen
#

ah

pearl ore
#

@fast bear 👋

zinc aspen
#

but yea imo giving stuff like CF panel access and the like to trusted people (preferably not all in the EU so there's timezone coverage) would be extremely beneficial

#

especially for cases like this

glad yoke
#

Im very trustworthy. Can give me CF access 🙂

pearl ore
#

@fast bear do you know who the current admin of 7tv is? Like the head dev? Everyone I know are asleep afaik...

fast bear
#

they are aware of the issues elisNodding

#

woke them up to work on it

pearl ore
fast bear
#

it's mos he's online if you look

#

says developer if you click on his name

pearl ore
#

Spotted ✅

#

Thankfully the issue is kinda delayed, so right now it's only hitting a small part I think

#

As in the manifest is only loaded on browser restart or extension (re)install

#

So the bulk of angry users would pile sometime tomorrow, and not now

#

It's affecting all extension users, but the cache is saving your ass for now heh

tawny glen
#

for me the 7tv icon randomly disappeared while i was watching jynxzi. first i thought it was my adblocker lol... but it wasnt

zinc aspen
#

that way if similar issues happen that don't require stuff like directly pushing code to the repo can be fixed without like needing to wake up the dev FeelsDankMan

fast bear
#

This issue is not something that anyone else could navigate but for other more minor issues it's possible

zinc aspen
#

ah

pearl ore
zinc aspen
#

yea from what IS was saying it sounded like a CF issue?

tawny glen
pearl ore
fast bear
#

ye it's cf but idk if i should go into it elisNodding

zinc aspen
pearl ore
zinc aspen
tawny glen
#

...anyways gn yall

zinc aspen
#

tho i mean tbf perm issue seems to be lack of perms not granting perms

#

if it was an issue of giving perms you shouldn't have THAT would be bad PEPW

pearl ore
#

That manifest is supposed to be public, no? PEPW It's needed for like ever extension install and init

pearl ore
zinc aspen
#

well yeah this is still bad

#

just not like

#

an inherently dangerous perms issue

pearl ore
#

The manifest enumerates perms the extension wants from the browser iirc. It missing fails all installs of the extension (people uninstall it and can't install back, and no new installs obviously), and makes the extension fail to access IndexedDB, so the whole init breaks down and it only partially inits, not showing any emotes (bad) and leaving only 2 lines of chat for some users (very bad, affects users who also have FFZ extension)

#

But the manifest is cached on extension init when you open browser, so for now it's good until people reopen it I think

zinc aspen
#

yuh

pearl ore
#

Imagine it's not a perms issue and the bucket is just gone... Fear

zinc aspen
pearl ore
#

Imagine they forgot to pay for their Cloudflare. Legendary but classic issue

short sand
#

Had to divert funds for Twitch Con tickets o7

pearl ore
#

Recovery livestream when? weestClueless Like GitLab did it

#

What happened to GitLab that time - https://youtu.be/tLdRBsuvVKc

If you're tasked with deleting a database, make sure you delete the right one.

Sources:
https://about.gitlab.com/blog/2017/02/10/postmortem-of-database-outage-of-january-31/
https://about.gitlab.com/blog/2017/02/01/gitlab-dot-com-database-incident/

Notes:
1:05 - The middle bullet point about the account that had 47,000 IPs was never mentioned ...

▶ Play video
stuck oasis
#

is hte event api shitting itself

stoic bison
#

when is it not shitting itself

distant phoenix
#

when is it not shitting itself

fierce idol
#

when is it not shitting itself

lapis tulip
#

when is it not shitting itself

stuck oasis
#

2024

stoic bison
#

well

solid gale
#

you cant see who adds emotes who removes them or anything

#

paints sometimes wont load cause why would they

stuck oasis
#

good they are useless anyways

solid gale
thorny flume
#

wait is it still broken

distant phoenix
#

emote processor was fixed

thorny flume
#

I had nightly installed and nothing was loading emotes wise

foggy hinge
#

It's just the signal to the api that it's no longer pending which doesn't get sent

#

2nd time it's happened

formal siren
#

The channel point is invisible for unknown reason. It seems not a known issue? I didn't find any related issues on GitHub

distant phoenix
#

erm does that streamer have channel points?

formal siren
#

yes

#

it displays for a while and then disappear

stoic bison
#

i have an issue with the eventapi, when i try opening a connection to "wss://events.7tv.io/v3" it gives me the status code "429 Too Many Requests", even if i try to to not sub to anything. I recently moved to another server that is hosted at home. The same code worked on my cloud server for months, i also dont see anything that could cause this on my side. I think my ip is rate limited or something, but i never tried making many connections that could cause this.

stable socket
#

poi_peek is there any public API ? I'd like to extract the "trending" emotes list as a json once in a while pepeMeltdown

swift bough
#

yes theres the gql playground in pinned messages but its broken rn

#

elisClassic 7tv

stable socket
#

Noted Thank u

stable socket
plain orbit
#

is there are rename mutation or something in the v4 gql?

#

because after reading the operation.rs for emote_set on github I found update_emote_alias

#

but I can't seem to get the gql right

#

do I have to do a remove and then add with a new alias?

ionic yarrow
#

this works for me

plain orbit
#

Thanks I'll try this tomorrow CatSmile2

tawny glen
#

Bypass Duplicate Message Check doesnt work for me does someone know a fix????

rigid narwhal
solid gale
#

I know theres differences but there might be a workaround still ApuShrug

ionic yarrow
#

i don't know if there is a difference Shrugeg

plain orbit
#

but I'll try v4

#
        const userRes = await axios.get(`https://api.7tv.app/v3/users/twitch/${twitchLogin}`);
        const emoteSetId = userRes.data?.emote_set?.id;

        if (!emoteSetId) {
            console.error('Got user data but no emote set ID found');
            return null;
        }

        console.log('Using Emote Set ID:', emoteSetId);

        const gqlQuery = {
            operationName: "UpdateEmoteAlias",
            query: `
                mutation MyMutation($id: Id = "", $emoteId: Id = "", $alias: String = "") {
                    emoteSets {
                        emoteSet(id: $id) {
                            updateEmoteAlias(alias: $alias, id: {emoteId: $emoteId}) {
                                id
                            }
                        }
                    }
                }
            `,
            variables: {
                id: emoteSetId,
                emoteId: emoteId,
                alias: newAlias
            }
        };

        const response = await axios.post(
            'https://7tv.io/v4/gql',
            gqlQuery,
            {
                headers: {
                    Authorization: `Bearer ${process.env.SEVENTV_TOKEN}`,
                    'Content-Type': 'application/json',
                },
            }
        );
#

I've probably missed something

#

but tried all endpoints

solid gale
#

but how does it "not work", have you tried logging everything you pass to see if youre passing the correct data?

plain orbit
#

it prints in console "Using Emote Set ID: x" but nothing happens in chat or emote is not changed, and nothing is erroring. All data that is being passed to the variables are defined and right

#

if I log the response.data I get
{message: 'Unknown operation named "UpdateEmoteAlias"'}

ionic yarrow
#

Try changing UpdateEmoteAlias to MyMutation, or changing MyMutation to UpdateEmoteAlias

#

so that they match

plain orbit
#

omg I feel so stupid Deadge

#

how did I miss that

#

thanks for the assist happy

pseudo sequoia
#

@quick ibex can you help me obtain a persistent bearer token?

rugged perch
#

I can

#

@pseudo sequoia dm me your profile

pseudo sequoia
plush kayak
pseudo sequoia
stuck oasis
#

maybe consider sending those my way instead

mortal fossilBOT
#

Hey mzntori, - I just private messaged you 1 private reminder(s) - make sure to check them out!

violet flint
#

does the eventapi not send events in offline channels? trying to test stuff in my chat but i'm not receiving anything, but i do for channels that are online

#

nevermind, now i am

candid relic
#

hey, is there some kind of api or way to use 7tv emotes in a custom corporate chat app?

topaz crown
#

speaking of the pinned messages, the v3/v4 gql playgrounds are both down and have been for some time

topaz crown
stuck oasis
#

DOCING MAKE THE PLAYGROUND ACCESSIBLE

swift bough
violet flint
violet flint
#

do messages sent over twitch's api instead of irc not trigger events hmm

rugged perch
#

You have to send presence to 7TV

#

That's how the websocket knows in which chat you are

violet flint
#

presence as in subscriptions or is that a separate thing? because i'm subscribing to cosmetic and entitlement topics upon join with a channel condition

let condition = json!({
    "ctx": "channel",
    "platform": "TWITCH",
    "id": id
});

let payload = json!({
    "op": 35,
    "d": {
        "type": event,
        "condition": condition
    }
});
topaz crown
#

its seperate, its a http post request that you should send when sending chat messages

plush kayak
#

hi ry

violet flint
#

ah! thank you

wispy vale
#

I recently discovered why 7TV was down for me but not for others. Turns out, in Spain, major ISPs are blocking Cloudflare and others in an effort to crackdown on football piracy. See more about this here (compilation of news articles, mostly in spanish but just so you get an idea and that this is a real thing): https://community.cloudflare.com/t/laliga-movistar-ip-address-blocks/784448

This issue is pretty bad especially during the weekends where there's usually a lot of football throughout the day. I'm guessing 7TV uses CloudFlare, because as soon as I used a VPN it got fixed. This isn't a simple DNS ban (eg: blocking 1.1.1.1), as I was using Google's DNS anyway. I don't really know how you'd be able to solve this (and probably will go unsolved since a migration is probably required), but basically if you live in Spain, unless you use a VPN you won't be able to use 7TV.

solid gale
#

what does this even mean at this point

#

💔

distant phoenix
#

🔜 shh

swift bough
#

AlrightAsk when playground fix

swift bough
swift bough
#

btw this is as easy as just updating async_graphql in case devs didnt know AlrightAsk

distant phoenix
#

devs are aware of the issues but were busy with twitch con stuff the last week or two

swift bough
distant phoenix
#

but i need to tell the devs to check it more regularly

odd pasture
stuck oasis
#

least obvious charlotte dick sucker

arctic crystal
mortal fossilBOT
#

tetohasgone is no longer AFK: call back when mr pispi gonna be live buh 🖕 (5d, 11h ago)

arctic crystal
#

shush

#

$rafk

mortal fossilBOT
#

tetohasgone, Your AFK status has been resumed.

lapis tulip
solid gale
#

so whens the frontend display of the monthly paints

swift bough
#

thought u guys should know its possible to add an emote with a blank name to a set that can only be removed through the API

#

now i got this fuckass xddcute thing in my channel and i cba to write a gql query to remove it

swift bough
topaz crown
#

@onyx bough BONUS

hushed siren
#

it's dead

topaz crown
plush kayak
#

@topaz crown

topaz crown
#

@plush kayak

plush kayak
#

waddup

topaz crown
swift bough
#

@topaz crown guess what

topaz crown
swift bough
stuck oasis
#

OOOO he guessed it

plush kayak
#

@topaz crown why'd the chicken cross the road

warm yacht
#

What's the cache time for the emote sets / user endpoints? buh

#

Found someone on the Twitch subreddit mentioning that adding emotes dynamically works fine but when they refresh said emotes aren't showing anymore

They posted 2 screenshots with timestamps that are about 2 minutes apart

ionic yarrow
#

i think it's 15 minutes for rest and no cache for gql

warm yacht
#

So do I just... use GQL instead of the REST API in the FFZ addon then? uhhh

#

I'm not sure how the official 7tv extension handles it

#

but 15mins is quite the time - if you're lucky it's 1min out of a refresh, if not then you gotta wait like 14mins

#

And with as many endpoints as 7TV has I doubt a cache bust for a specific URL would be possible? Say I update one of my emote sets, then it'll bust the cache of the main twitch URL and the specific set URL

topaz crown
#

yea use gql

round wind
topaz crown
warm yacht
#

whatever is preferred

#

I know I used a smart backoff elsewhere (as in, instead of a raw timestamp, it's like... closest to 20 or 30 seconds or so)

round wind
#

yeah something like that should do the trick

warm yacht
#

I'll first try some extra logging so when some users report issues again we might be able to figure out what is causing it

#

Don't feel too comfortable doing calls to bypass the cache mechanics if I can avoid it hah

lament pine
#

How does one fetch badges for a given user?

#

Is it the roles property in the user or something else?

lapis tulip
#

there's an inventory property on the user

{
  users {
    user (id: "") {
      inventory {
        badges {
          to {
            badge {
              name
            }
          }
        }
      }
    }
  }
}
lament pine
#

ah thanks, i didn't think it would be in the inventory

gaunt magnet
#

hi! chatterino dev here again with another question
I talked to Anatole back in the day about the name of your fork "chatterino7"
It gets confusing since it kind of implies the version is higher than upstream
any chance you could look into renaming it to something akin to how the other forks are named like dankerino, technorino, or something else that has less chance to confuse users?
Thanks!
happy to chat in DMs or email or wherever else if this is not the right place

tidal narwhal
#

Emoterino7 Hmm

worldly idol
#

Hi! I'm developing an application for a Twitch Chat Overlay and would like to request a persistent session token. Thank you!

rigid narwhal
rigid narwhal
worldly idol
#

What information exactly do you need?

rigid narwhal
rugged perch
#

7erino almostPffttt

tidal narwhal
#

7Televisorino Okayge

rigid narwhal
#

@real sorrel any name ideas PauseMan

rugged perch
#

Seventino wire

real sorrel
#

uh

#

I mean we talked about going from "Chatterino 7.x.y" to "Chatterino7 2.x.y" but we can only do that in two releases [maybe?]. We'd need to teach the updater to "2.5.4 > 7.5.3". Maybe that could be done in the backend though m0xyShrug

rugged perch
#

I think when someone sees Chatterino7 as a name. It could confuse them for it being Chatterino version 7

rigid narwhal
#

YEA happened to quite a few users I know

sullen edge
#

since it would be same origin basically

cold tendon
#

wait for charlotte to confirm @rugged perch