WebbCompare icon indicating copy to clipboard operation
WebbCompare copied to clipboard

TIK TOK API

Open Emilianocm23 opened this issue 3 years ago • 5 comments

Hello, i tried the new update and i get this message:

Traceback (most recent call last): File "C:\Python38-32\lib\configparser.py", line 789, in get value = d[option] File "C:\Python38-32\lib\collections_init_.py", line 898, in getitem return self.missing(key) # support subclasses that define missing File "C:\Python38-32\lib\collections_init_.py", line 890, in missing raise KeyError(key) KeyError: 's_v_web_id'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\tik tok bot\TikTok Server\main.py", line 4, in import server File "D:\tik tok bot\TikTok Server\server.py", line 31, in settings.generateConfigFile() File "D:\tik tok bot\TikTok Server\settings.py", line 75, in generateConfigFile loadValues() File "D:\tik tok bot\TikTok Server\settings.py", line 91, in loadValues s_v_web_id = config.get('tiktok', 's_v_web_id') File "C:\Python38-32\lib\configparser.py", line 792, in get raise NoOptionError(option, section) configparser.NoOptionError: No option 's_v_web_id' in section: 'tiktok'

Emilianocm23 avatar Jan 27 '21 02:01 Emilianocm23

you can go on the config.ini, under Language in tiktok section, add s_v_web_id and tt_webid, it works for me

habibi92 avatar Jan 27 '21 11:01 habibi92

Yes you need to update your config file with s_v_web_id and tt_webid.

HA6Bots avatar Jan 27 '21 12:01 HA6Bots

HA6, i've a question, i put the s_v_web and the tt_webid, but now when i'm starting it, it said tiktokapi isn't loaded, i don't understand because i re-installed the tiktok api 3 times :/

habibi92 avatar Jan 27 '21 13:01 habibi92

@habibi92 Make sure you remove the previous version of the TikTokAPI via pip remove. Then install the new API. I don't think either one works when they're both installed since they share the same names.

HA6Bots avatar Jan 27 '21 14:01 HA6Bots

I keep getting {'statusCode': 0} in the logs. It can't find anything.

nisanb avatar Jun 26 '21 08:06 nisanb