tiktokpy icon indicating copy to clipboard operation
tiktokpy copied to clipboard

Tutorial Guide here 👋

Open ezzcodeezzlife opened this issue 3 years ago • 5 comments

Seems like many people want to use this Bot but are struggeling with the basic usage:

I created this written guide for beginner programmers "How to use TikTokPy".

This will help you to get started with this project.

ezzcodeezzlife avatar Apr 26 '22 16:04 ezzcodeezzlife

Ive tried to login via my regular browser and on "tiktokpy login" both will not save cookies and quickstart is still not working because im not loged in.

stannihart avatar Apr 27 '22 17:04 stannihart

Ive tried to login via my regular browser and on "tiktokpy login" both will not save cookies and quickstart is still not working because im not loged in.

Same here.

xxxx tiktok $ tiktokpy login 2022-05-14 22:38:32 | INFO | 🥳 TikTokPy initialized. Version: 0.9.0 2022-05-14 22:38:32 | INFO | 🔧 Settings successfully loaded 2022-05-14 22:38:32 | INFO | 🛑 Cookies not found, anonymous mode 2022-05-14 22:41:09 | INFO | 🔑 Logged as @xxxxx aka xxxxxx 2022-05-14 22:41:09 | INFO | ✋ TikTokPy finished working. Session lasted: 2 minutes

xxxx tiktok $ python3 quickstart.py 2022-05-14 22:41:37 | INFO | 🥳 TikTokPy initialized. Version: 0.9.0 2022-05-14 22:41:37 | INFO | 🔧 Settings successfully loaded 2022-05-14 22:41:37 | INFO | 🛑 Cookies not found, anonymous mode 2022-05-14 22:41:38 | INFO | 📈 Getting trending items

jd1900 avatar May 14 '22 20:05 jd1900

Ive tried to login via my regular browser and on "tiktokpy login" both will not save cookies and quickstart is still not working because im not loged in.

Same here.

@jd1900 You should update the quickstart.py file like this after login:

...
async def main():
    async with TikTokPy("./settings_test.toml") as bot:
...

tudoanh avatar May 18 '22 14:05 tudoanh

Ive tried to login via my regular browser and on "tiktokpy login" both will not save cookies and quickstart is still not working because im not loged in.

Same here.

@jd1900 You should update the quickstart.py file like this after login:

...
async def main():
    async with TikTokPy("./settings_test.toml") as bot:
...

Still not working: playwright._impl._api_types.Error: net::ERR_INVALID_RESPONSE at https://www.tiktok.com/foryou?lang=en =========================== logs =========================== navigating to "https://www.tiktok.com/foryou?lang=en", waiting until "networkidle"

matteotoma98 avatar May 29 '22 17:05 matteotoma98

any chance you have a backup of that guide? I'm having trouble figuring out how to grab urls

SmittysSmellyAss avatar Jan 28 '24 07:01 SmittysSmellyAss