546200350 / TikTokUploder

Upload video to Tik Tok by sessionId
MIT License
166 stars 27 forks source link

Detection by TikTok #18

Closed UnMars closed 1 year ago

UnMars commented 1 year ago

Whenever I post with this tool on TikTok, my video gets 0 views (stuck in fantom mode), whatever the video, whatever the account. (I also tested with some apps that allow to post automatically and they also got stuck on 0 views.) Am I the only one who doesn't have view when I use this tool?

I think Tiktok has some verification that you're using the Tiktok app/website and not just the API. Maybe try to replicate some requests that are made like these ones. image

Here's a guy that I found on GitHub who explored a bit the Tiktok API: https://github.com/xtekky?language=&page=1&q=Tiktok&sort=stargazers&tab=repositories&type=source . Maybe we will find something interesting to improve our uploader.

546200350 commented 1 year ago

all the api this script use is based on TikTok Website. this is account, all the videos upload by this script image

bilalazza commented 1 year ago

me too i tested the script but the videos gets 0 vues im asking if i can use proxy or i must every time change the rdp where im hosting the script or there is anything i must do it like undetectable browser...

UnMars commented 1 year ago

all the api this script use is based on TikTok Website. this is account, all the videos upload by this script image

Oh okay, amazing for you! Do you use any IP or MAC adress modification before launching the script ? Or you just launch it normally like any script with your home internet connexion ? Or maybe the account that you're using, is it aged ? We are having the same problem with @bilalazza and you don't have it @546200350 so it must have a solution ๐Ÿ˜„

bilalazza commented 1 year ago

i want run it into another rdp but i get this error user_id = r.json()["data"]["user_id_str"] KeyError: 'user_id_str'

can you please advice me . i look into the folder there is no json file what can i do please

UnMars commented 1 year ago

Update : As @546200350 is in Chengu (China) he used the singapore server to upload. Whereas I'm in France, so I did set up a proxy with Charles for my smartphone to see which server i'm using when on Tiktok. As result I found this url : tnc16-platform-useast1a.tiktokv.com . So for the uploader I changed all the url = "https://vod-ap-singapore-1.bytevcloudapi.com/" by url = "https://vod-us-east-1.bytevcloudapi.com/" (and some changes in the AWS signature function) and I it managed to upload. I'll keep you updated if this works or still locked with 0 views.

ViktorKravtsov commented 1 year ago

@UnMars did the same, but still getting 0 views if video uploaded by tool

UnMars commented 1 year ago

@ViktorKravtsov Any solutions found ?

ViktorKravtsov commented 1 year ago

@UnMars no :(

TheTTCoder commented 1 year ago

Update : As @546200350 is in Chengu (China) he used the singapore server to upload. Whereas I'm in France, so I did set up a proxy with Charles for my smartphone to see which server i'm using when on Tiktok. As result I found this url : tnc16-platform-useast1a.tiktokv.com . So for the uploader I changed all the url = "https://vod-ap-singapore-1.bytevcloudapi.com/" by url = "https://vod-us-east-1.bytevcloudapi.com/" (and some changes in the AWS signature function) and I it managed to upload. I'll keep you updated if this works or still locked with 0 views.

Are your modifications open sourced?

UnMars commented 1 year ago

Update : As @546200350 is in Chengu (China) he used the singapore server to upload. Whereas I'm in France, so I did set up a proxy with Charles for my smartphone to see which server i'm using when on Tiktok. As result I found this url : tnc16-platform-useast1a.tiktokv.com . So for the uploader I changed all the url = "https://vod-ap-singapore-1.bytevcloudapi.com/" by url = "https://vod-us-east-1.bytevcloudapi.com/" (and some changes in the AWS signature function) and I it managed to upload. I'll keep you updated if this works or still locked with 0 views.

Are your modifications open sourced?

Yes I mean I just replace the server url everywhere in the code as I said. If you have any solutions, I take it ๐Ÿ˜„

TheTTCoder commented 1 year ago

Update : As @546200350 is in Chengu (China) he used the singapore server to upload. Whereas I'm in France, so I did set up a proxy with Charles for my smartphone to see which server i'm using when on Tiktok. As result I found this url : tnc16-platform-useast1a.tiktokv.com . So for the uploader I changed all the url = "https://vod-ap-singapore-1.bytevcloudapi.com/" by url = "https://vod-us-east-1.bytevcloudapi.com/" (and some changes in the AWS signature function) and I it managed to upload. I'll keep you updated if this works or still locked with 0 views.

Are your modifications open sourced?

Yes I mean I just replace the server url everywhere in the code as I said. If you have any solutions, I take it ๐Ÿ˜„

Do you have a discord so we can discuss easily?

UnMars commented 1 year ago

Update : As @546200350 is in Chengu (China) he used the singapore server to upload. Whereas I'm in France, so I did set up a proxy with Charles for my smartphone to see which server i'm using when on Tiktok. As result I found this url : tnc16-platform-useast1a.tiktokv.com . So for the uploader I changed all the url = "https://vod-ap-singapore-1.bytevcloudapi.com/" by url = "https://vod-us-east-1.bytevcloudapi.com/" (and some changes in the AWS signature function) and I it managed to upload. I'll keep you updated if this works or still locked with 0 views.

Are your modifications open sourced?

Yes I mean I just replace the server url everywhere in the code as I said. If you have any solutions, I take it ๐Ÿ˜„

Do you have a discord so we can discuss easily?

Here's UnMars#2668

TheTTCoder commented 1 year ago

I get between 70k and 200k views a day with this, so I donโ€™t think thereโ€™s any detection by tiktok tbh

ViktorKravtsov commented 1 year ago

@TheTTCoder are you from China? Or you modified this script somehow?

TheTTCoder commented 1 year ago

@TheTTCoder are you from China? Or you modified this script somehow?

Iโ€™m from France