Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

error in login process #9

Open
chiangandy opened this issue Feb 22, 2019 · 9 comments
Open

error in login process #9

chiangandy opened this issue Feb 22, 2019 · 9 comments

Comments

@chiangandy
Copy link

Thanks for your code sharing, it is helpful for me very much.
my testing is almost ok on 'no seesion required'.
But when I try login process, I got error message as below:

{'data': {'captcha': '', 'description': 'Hizmetimizi çok sık ziyaret ediyorsunuz.', 'error_code': 7}, 'message': 'error'}

I just simply input my tik tok account in demo.py, like...
api = api()

api.global_veriable['device_id'] = "6648944787888948741"
api.global_veriable['iid'] = "6648944787888948741"
api.global_veriable['openudid'] = "6vchx2vx3ubd051q"
username = "<<my user id>>"
password = "<<my password>>"

Do I need to do anything for this? Do I need to change device_id ,iid and openudid?
Your opinion will be appreciated. Thanks

@tolgatasci
Copy link
Owner

you error message " You visit our service very often. " ip blocked probably

@sukhcha-in
Copy link

@tolgatasci i also tried using this API today, it is saying same for me "Hizmetimizi çok sık ziyaret ediyorsunuz." i have never used tiktok on my current IP

@tolgatasci
Copy link
Owner

change device

@chiangandy
Copy link
Author

I am sure my ip just try 2~3 times and my network public IP is dynamic which will change every day. I think it is not possible block by ip issue. I also change device id(get my mobile phone ), and change iid (get from tiktok url). But error message is same... so sad. :(

@tolgatasci
Copy link
Owner

tolgatasci commented Feb 25, 2019 via email

@chiangandy
Copy link
Author

after I use proxy app to get relevant data and update helper.py default default_veriable and use my own account data to login.
I got different error as below:
{'data': {'captcha': '', 'description': '用户不存在', 'error_code': 1011}, 'message': 'error'}
it mean my account is not exist.
So which username I should use? I use tiktok id and phone number (my account is create by phone number), both of them doesn't work.

I also use api.register to create new
result = api.register(user={'email':'[email protected]','password':xxxxxxx'})
and I get result like ...
{'data': {'user_id': 6662148851909165062, 'user_id_str': '6662148851909165062', 'name': 'chiangandy0807', 'screen_name': 'chiangandy0807', 'avatar_url': '', 'user_verified': False, ........ 'uid_tt': 'd72a16c11b16d064bd7a603499475ae3a35fbd815c719f14b9f022fb17854b11'}}

and I use name as a username to login but it is still not working.

So how to give right username?
Thanks for your answer...

@sukhcha-in
Copy link

@chiangandy how did you bypass {'data': {'captcha': '', 'description': 'You are visiting our service too frequently.', 'error_code': 7}, 'message': 'error'}? I am still having same issue even after using VPN.

@chiangandy
Copy link
Author

@sukhcha-in use I describe, I use proxy app to get tiktok socket data, and modify parameter in helper.py default_veriable function and use below statement.
api = api()
helper = helper()
api.global_veriable = setting_veriable()
than error code is change to "account is not existed.", but login is still not success.

@pankajmishra27
Copy link

I am also having the same issue. In the login I am getting same error message

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants