Posted
uh so i wanna make sum tiktok name checker in c#. i got idea but idk how to get the response code to me.
so if the reqeust url is https://www.tiktok.com/@euiwfheuwih it returns 404 since the username is not taken or found.
but i wanna get the that thingy i marked in the picture, i just dun know how to grab that.
i appreciate every kind of help ok bye
I like CodeÂ
Replied
cant see the image but you can see the response code, if its 404 or something in the 400-499 it means the account doesnt exist
Cancel
Post
Added
i can make a simple one rn in JS, in C# just use their methods for web requests
Cancel
Post
My new discord is Wabz#1337 with ID 777154062789509130
Replied
@Wabz click the blue marked word lmao. but i get 200 cause the request gets me to the tiktok website.
btw do yk how are the files called where headers are stored in?
yea 1 in js would be kinda helpful
Cancel
Post
I like CodeÂ
I like CodeÂ
I like CodeÂ
Replied
@faith its not that lol, it was my ad blocker
but yes for some reason on fetch it gives me code 200 when on the browser its 404, idk why tiktok does that
maybe i could just webscrape it if tiktok tries to trick us
Cancel
Post
Added
@faith tiktok doesnt even respond anything other than a blank line, i think its a protection they did against automated bots
Cancel
Post
Added
yeah its definitely tiktok protection, tried in node and python, always returns 200 (and empty response, not in screenshot tho)
https://i.imgur.com/aslstjM.png
Cancel
Post
Added
im too lazy to make the requests look human, maybe i should try it with puppeteer
Cancel
Post
My new discord is Wabz#1337 with ID 777154062789509130
My new discord is Wabz#1337 with ID 777154062789509130
Users viewing this thread:
( Members: 0, Guests: 0, Total: 0 )
Cancel
Post