Giter Site home page Giter Site logo

Comments (6)

danog avatar danog commented on August 21, 2024 2

@vahidvdn You must implement a session management feature (serialization can help) to execute the complete phone login method with another separate request.

from madelineproto.

danog avatar danog commented on August 21, 2024

Have you typed in the code and pressed enter?

from madelineproto.

vahidvdn avatar vahidvdn commented on August 21, 2024

What do you mean? Where should I type the code and enter?? In the output of webpage?

from madelineproto.

danog avatar danog commented on August 21, 2024

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.

vahidvdn avatar vahidvdn commented on August 21, 2024

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.

vahidvdn avatar vahidvdn commented on August 21, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.