Comments (6)
@vahidvdn You must implement a session management feature (serialization can help) to execute the complete phone login method with another separate request.
from madelineproto.
Have you typed in the code and pressed enter?
from madelineproto.
What do you mean? Where should I type the code and enter?? In the output of webpage?
from madelineproto.
Please always read the code that's giving you problems before opening an issue.
As you can see on line 39, the code must be typed in from terminal since it is read using fgets.
from madelineproto.
So, imagine I could be able to enter the code by terminal. How should a user do that? I really get confused.
I want that users can be able to login like webogram
. (Of course by php not javascript.)
from madelineproto.
@danog Thank you so much. It was really awesome.
I used serialize
in first one, then by deserialize
I could be able to send the code. Even I could send some messages to a peer. Thank you.
Now, only one question. What I want to do is this:
After I logged in to the telegram and do my stuff by deserializing , Then I want to add some tasks to my web app. For example, I submit a post to my database, and my web app must send it to my channel after 2 hours. Is it possible at all???
What should I save in my database , in order to making difference between users? (For example, can I save the session?)
(NOTE: I printed the deserialized session, it was a huge sets of arrays)
from madelineproto.
Related Issues (20)
- RPC error with getFullInfo() HOT 2
- getPropicInfo() returns NULL HOT 4
- > pray for daniil 🙏🙏🙏
- > pray for daniil 🙏🙏🙏
- Telegram+
- Redis Settings overrides database number and password when URI contains these values HOT 3
- בוט בדיקה HOT 1
- How to send messages to the robot through MadelineProto, please give a successful example HOT 1
- Install error / difficulties HOT 1
- messages.sendMessage needs random_id parametr HOT 1
- How to read messages from public channel HOT 1
- Update of channel message send twice when we dont use IsNotEdited Filter
- PHP - fpm fall down in infinitive loop HOT 2
- getDownloadLink() error message: The given data cannot be sent because it is not serializable HOT 1
- getInfo is ok, but the same parameters using in getFullInfo is not ok. I rly can't understand) HOT 3
- Surfaced: AssertionError: No info for DC -5! HOT 1
- AssertionError: No info for DC -1 HOT 1
- A
- getDownloadLink method exception HOT 1
- Hash generation Issue 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 madelineproto.