BbayuGt / Trakteer.js

Unofficial Trakteer Streaming API (Using websocket)
Other
12 stars 1 forks source link

error 404 not found when hitting trakteer API #36

Closed RSurya99 closed 2 years ago

RSurya99 commented 2 years ago

I have added my pageID to be the same as my trakteer account, but the package throw an error API not found when trying to request to trakteer API, is the API wrong or something else? trakteerjs-error

BbayuGt commented 2 years ago

Can you show me your new Client()?

RSurya99 commented 2 years ago

image

BbayuGt commented 2 years ago

change the "PageID" (first parameter) to your page id, you can view it here image or check it here

the second parameter will be the trstream-xxx, you can check it at https://trakteer.id/manage/stream-settings/settings image

With this, you will put something like this

new Client("BbayuGt", "trstream-a2U0xxx")
RSurya99 commented 2 years ago

it work, thanks