TikTok-Live-Connector icon indicating copy to clipboard operation
TikTok-Live-Connector copied to clipboard

sendMessage doesn't seem to work

Open reasonabledad opened this issue 3 years ago • 8 comments

Hi @zerodytrash I know you're already aware of this, just wanted to get it into an issue for tracking on your end.

Due to changes on the part of tiktok the sendMessage function is currently not working

  • Tried connecting to User B's live using User A's sessionid: "Your SessionId has expired. Please provide a new one" error, but checking sessionid in Dev Tools shows the session hasn't actually expired.
  • Tired connecting to User A's live using User A's sessionid: no responses showing up in chat, no errors given from sendMessage()

reasonabledad avatar Nov 01 '22 06:11 reasonabledad

sendMessage method also need signature to work.(sent successfully with signature)

Cojad avatar Dec 25 '22 03:12 Cojad

@Cojad What do you mean by signature? Where can I find it and how can I pass it?

faressoft avatar Dec 27 '22 15:12 faressoft

Any updates on this issue?

faressoft avatar Dec 27 '22 15:12 faressoft

I have this problem too

Reloss avatar Jan 05 '23 09:01 Reloss

As already mentioned, a signature is required to send chat messages. Unfortunately, the implementation is associated with a lot of effort. Will see when I find time for it.

zerodytrash avatar Jan 06 '23 02:01 zerodytrash

As already mentioned, a signature is required to send chat messages. Unfortunately, the implementation is associated with a lot of effort. Will see when I find time for it.

OK,thank you

Reloss avatar Jan 06 '23 02:01 Reloss

@Reloss @zerodytrash What do you mean by signature? Where can I get from or how I can generate it and how to provide it to the tool? Do you mean it is not implemented yet?

faressoft avatar Jan 06 '23 08:01 faressoft

@Reloss @zerodytrash What do you mean by signature? Where can I get from or how I can generate it and how to provide it to the tool? Do you mean it is not implemented yet?

Tiktok check sendMessage request for a signature(some sort of hash for request). Requests return fail without valid signature. This project doesn't contain signature generation, but use the signature generating server provided by author. Currently, project only use signature to generate request to connect to live chat websocket. This approach which helps project not to be abuesd and cause tiktok to try to ban the project.

sendMessage used to work without signature, But it isn't now. To adopt the change from tiktok, author need more time to update project.(Remember that's author isn't paid for the project, your PR is always welcome, so is donation that may helps)

If you ask question about what is signature, that means you didn't even really reading the source code of this project enough. Then it's really impossible for you to able generate signature without those knowledge.

Cojad avatar Jan 14 '23 18:01 Cojad