Comments (5)
Hi, there are several possible reasons why it can happen, but the most popular is that you were handling 2 connections to one auth key at the same time
e.g.
you had telethon session, you converted it to program and connected to both of them at same time your account will be blocked immediately (if you switch them very quickly it also may be very dangerous) in your case I think what you did is you had telegram opened on android device (so you had active session on your android device), and at the same time you connected to the same session but using pyrogram
Also you need to realise that on telegram's side that is possible to fix, but personally, I think it won't be fixed soon (maybe at least in a year), technically everything this software does is just extract auth key from android session so you could keep exploring it and use it in a way that you want to
So just try to follow these rules:
- Don't connect twice to 1 session at same time
- Don't swap between sessions too fast
- Based on my own experience I can say that converting to telethon to get account id and then converting to tdata is super dangerous, you better wait after you extracted account id, or the best thing to do is don't convert to telethon, just extract account id from android session and convert to tdata, based on my experience it is very safe and my session never died after that
from telegram_android_session_converter.
I feel like you are very experienced. I am now encountering a problem where I want to find the user ID from the mobile phone number of any user. Do you have any good method other than importing the address book?
from telegram_android_session_converter.
try searching in database (in cache)
from telegram_android_session_converter.
just extract account id from android session and convert to tdata
How can I do that? I can't find examples of implementation((
from telegram_android_session_converter.
@luckyooh Maybe the type of API you used to connect the session caused you to worry. You can use the official Telegram API here.
I generated pyrogram session_string, and my account was immediately banned after using pyrogram request. Have you encountered this situation?
from telegram_android_session_converter.
Related Issues (9)
- Request from Telegram X HOT 3
- How to switch to tdata. Do not use telethons HOT 3
- How to get session from Android source code? HOT 1
- no proxy HOT 4
- Creating android session HOT 5
- How can I extract the account ID from an Android session and convert it to tdata? HOT 9
- Android Extract Session File HOT 11
- tgnet to tdata HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram_android_session_converter.