Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where is token? #57

Open
dearmin opened this issue May 7, 2023 · 4 comments
Open

where is token? #57

dearmin opened this issue May 7, 2023 · 4 comments

Comments

@dearmin
Copy link

dearmin commented May 7, 2023

When I creative sticker from telegram,
It shows:
Homeserver URL:
Access token:

Where can I find " Access token"?

Thanks

@sebix
Copy link

sebix commented May 8, 2023

You get your Telegram Token from the Telegram App

@dearmin
Copy link
Author

dearmin commented May 8, 2023

You get your Telegram Token from the Telegram App

I found the access token from element app
It pass
But import from telegram is failed.Traceback (most recent call last): File "/usr/local/bin/sticker-import", line 8, in <module> sys.exit(cmd()) File "/usr/local/lib/python3.10/dist-packages/sticker/stickerimport.py", line 165, in cmd asyncio.get_event_loop().run_until_complete(main(parser.parse_args())) File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete return future.result() File "/usr/local/lib/python3.10/dist-packages/sticker/stickerimport.py", line 157, in main await reupload_pack(client, pack, args.output_dir) File "/usr/local/lib/python3.10/dist-packages/sticker/stickerimport.py", line 65, in reupload_pack os.mkdir(os.path.dirname(pack_path)) FileNotFoundError: [Errno 2] No such file or directory: 'web/packs'

@sebix
Copy link

sebix commented May 8, 2023

You get your Telegram Token from the Telegram App

I found the access token from element app

The telegram API token is not the same as the Matrix access token.

@peraperkan
Copy link

You get your Telegram Token from the Telegram App

I found the access token from element app It pass But import from telegram is failed.Traceback (most recent call last): File "/usr/local/bin/sticker-import", line 8, in <module> sys.exit(cmd()) File "/usr/local/lib/python3.10/dist-packages/sticker/stickerimport.py", line 165, in cmd asyncio.get_event_loop().run_until_complete(main(parser.parse_args())) File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete return future.result() File "/usr/local/lib/python3.10/dist-packages/sticker/stickerimport.py", line 157, in main await reupload_pack(client, pack, args.output_dir) File "/usr/local/lib/python3.10/dist-packages/sticker/stickerimport.py", line 65, in reupload_pack os.mkdir(os.path.dirname(pack_path)) FileNotFoundError: [Errno 2] No such file or directory: 'web/packs'

I get the same error as you. Did you manage to find the solution to the problem?

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

No branches or pull requests

3 participants