aahnik / tgcf

The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ... Call it whatever you like! tgcf can fulfill your custom needs.
https://github.com/aahnik/tgcf/wiki
MIT License
1.29k stars 775 forks source link

Can't generate sessionstring, therefore tgcf effectively useless #472

Closed Jakemangan closed 7 months ago

Jakemangan commented 1 year ago

I got TGCF running locally but I cannot generate a sessionstring and therefore I am unable to log in to telegram via TGCF.

TGCF is effectively useless because of this. I left a report on the tg-login repo also

gustavogokK commented 1 year ago

tg-login on local terminal is still operational

dany250 commented 11 months ago

no way to get session id . getting so frustrated!

dany250 commented 11 months ago

please suggest a valid TG LOGIN for phone users!

MobCode100 commented 11 months ago

tg-login is working well for me on Linux. Can you show the error in detail? What operating system you use?

dany250 commented 11 months ago

https://pastebin.com/GUNxiCE8 this is the error . no way to use the "online terminal" scripts. none of them works! tested it on linux/windows/mac/online no way to get the string using phone number

MobCode100 commented 11 months ago

https://pastebin.com/GUNxiCE8 this is the error . no way to use the "online terminal" scripts. none of them works! tested it on linux/windows/mac/online no way to get the string using phone number

I've never tested the online method. For me running tg-login on your computer terminal still works just fine for me using Python 3.11.3. Proceed with normal installation:

mkdir tgcf && cd tgcf
python3 -m venv .venv
source .venv/bin/activate
pip install tgcf

Then run tg-login.

dany250 commented 11 months ago

https://pastebin.com/QEegBEVc

MobCode100 commented 11 months ago

https://pastebin.com/QEegBEVc

You are using python 3.9, tgcf only works with python 3.10 and above.

Quickshadoww commented 9 months ago

https://pastebin.com/GUNxiCE8 this is the error . no way to use the "online terminal" scripts. none of them works! tested it on linux/windows/mac/online no way to get the string using phone number

I've never tested the online method. For me running tg-login on your computer terminal still works just fine for me using Python 3.11.3. Proceed with normal installation:

mkdir tgcf && cd tgcf
python3 -m venv .venv
source .venv/bin/activate
pip install tgcf

Then run tg-login.

gawd, can you explain for noobs ? i tried this commands you send on windows powershell, WSL.exe (windows subsystem linux) and on python 3.11 command line tool. running windows 11

all getting error  2023-09-29 at 12 37 32

Quickshadoww commented 9 months ago

https://pastebin.com/GUNxiCE8 this is the error . no way to use the "online terminal" scripts. none of them works! tested it on linux/windows/mac/online no way to get the string using phone number

I've never tested the online method. For me running tg-login on your computer terminal still works just fine for me using Python 3.11.3. Proceed with normal installation:

mkdir tgcf && cd tgcf
python3 -m venv .venv
source .venv/bin/activate
pip install tgcf

Then run tg-login.

gawd, can you explain for noobs ? i tried this commands you send on windows powershell, WSL.exe (windows subsystem linux) and on python 3.11 command line tool. running windows 11

all getting error  2023-09-29 at 12 37 32

UPDATE: i managed to fix this by myself. running on docker windows desktop, then i just went into cmd line inside docker. now i got the session string successfully + noob friendly.

but my question is, how can i forward messages where just my personal account is inside but not the bot ?? is this possible ?

aahnik commented 7 months ago

@Jakemangan @gustavogokK @dany250 please read https://github.com/aahnik/tgcf/issues/505#issuecomment-1842472758