frankvHoof93 / TikTokLiveSharp

Port of TikTok live library for C#
https://vanhoof.dev
Other
140 stars 28 forks source link

'Request was unsuccessful' error occured. #18

Closed prolove15 closed 1 year ago

prolove15 commented 1 year ago

Hello, have a wonderful day. I am trying to implement Tiktok livestream function. Here's a video I captured the attempt to receive events likes follow, likes, gift from live streaming the game. Some errors occured when I press connect button.

Below is the video sharing link. https://drive.google.com/file/d/1ObHaM7MjevvdGZzjzMwQ218ni7iqCI5n/view?usp=share_link

Please help me how to fix these erros.

frankvHoof93 commented 1 year ago

When connecting, use the 'UniqueId' for the host. That's the @-name, without the @. In your video, that would be "myfriend.ryo"

prolove15 commented 1 year ago

Thank you for your help. I changed the host id to "myfriend.ryo" along your advice and it works well for a while. But after restarting the Unity project, another error has caused and I couldn't fix it. The video link is below. https://drive.google.com/file/d/14bQwwDo2B9JRg-UBv66yAQVODrqUEo_y/view?usp=share_link Excuse me, please fix this error.

prolove15 commented 1 year ago

I am streaming live Unity project on the Tiktok live studio. My user name is "myfriend.ryo". Hope you sending recorded video me shows the entire process of organizing the project for my live video, if you want.