Open FoBasa opened 1 year ago
I'm getting a similar error, however I get status 200 the response from the server sent this:
[-] An error occured while reaching https://www.tiktok.com/api/v1/item/create/
r = <Response [200]>
r.content = b'{"status_code":5,"status_msg":"Invalid parameters","log_pb":{"impr_id":"redacted"}}'
Code:
from Tiktok_uploader import uploadVideo
session_id = "sessionid"
file = "test.mp4"
title = "Testing title"
tags = ["test", "fyp"]
uploadVideo(session_id, file, title, tags, verbose=True)
this seems to be an invalid sessionid, assuming you copied the exact 'sessionid' from the cookies, it may also be dated (you can get a new one by logging out & in). I had a certificate installed which I uninstalled & then it went into 'uploading' message, however after countless tries fails.
let me know if you have any success with using the correct sessionid or by getting a new one
i try with correct sessionid but problem still here. [-] An error occured while reaching https://www.tiktok.com/upload/ r = <Response [403]> r.content = b''
maybe you can try another lib https://github.com/546200350/TikTokUploder it`s also base on this lib
same error here
same error here too
check this its working perfectly https://github.com/546200350/TikTokUploder
Used the correct session_id, even with a new updated one however it still gives 403 content error
[-] An error occured while reaching https://www.tiktok.com/upload/ r = <Response [403]> r.content = b''