Coder Social home page Coder Social logo

Web Version about itsagramlive HOT 8 CLOSED

harrypython avatar harrypython commented on May 30, 2024
Web Version

from itsagramlive.

Comments (8)

harrypython avatar harrypython commented on May 30, 2024

What about a desktop service? yellowduck.tv use a desktop app.

from itsagramlive.

RaihanStark avatar RaihanStark commented on May 30, 2024

We obviously will reach that point, but we need to create a web app first and then we can convert it to desktop apps using Electron.

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

I didn't understand the need for the web app πŸ˜• .
Is it necessary for Electron?
I have no experience in desktop apps.

from itsagramlive.

RaihanStark avatar RaihanStark commented on May 30, 2024

Okay, I will fork this repository and I will build the web apps from it😊

from itsagramlive.

harrypython avatar harrypython commented on May 30, 2024

I'll follow your project and please let me know if I can help with something, I'll love to πŸ˜ƒ

from itsagramlive.

RaihanStark avatar RaihanStark commented on May 30, 2024

Hi, Harrypython.

I have created a web version of it, you can check it out (https://github.com/RaihanStark/instaliveweb) (dev release). But, I have some major problems from the API.

Case

I'm trying to store the object session after the user logged in, so I can send more requests without needing to log in again every time I send a request, to avoid the rate-limiting.

The Problem

After I deserialize the object and try to send any request, the servers response error 403 with the message "You've been logged out".

Object Serialize with pickle
from ItsAGramLive import ItsAGramLive

Live = ItsAGramLive(username='foo',password='bar')
Live.login() 

f = open("pickle_data", "wb")
pickle.dump(Live, f)
f.close()
Object Deserialize
import pickle
from ItsAGramLive import ItsAGramLive

# get the object with pickle
f = open("pickle_data", "rb")
Live = pickle.load(f) # <ItsAGramLive.ItsAGramLive.ItsAGramLive object at 0x0339FD00>

Live.create_broadcast() # * ERROR(403): login_required

Solutions?

It would be great if we get and store the auth cookies and load cookies as needed and maybe adding a new function like load_session() and save_session() or something similar.

References

https://instagram-private-api.readthedocs.io/en/latest/usage.html#avoiding-re-login
https://github.com/ping/instagram_private_api/blob/master/examples/savesettings_logincallback.py

I really need your help to make this project possible. 😊

from itsagramlive.

RaihanStark avatar RaihanStark commented on May 30, 2024

I have a pull request #20 to solving the problems I addressed.

p.s: I have a lot of ideas to be included in this project, I want to create documentation, testing, and more. Are you still maintaining this project?

from itsagramlive.

RaihanStark avatar RaihanStark commented on May 30, 2024

I assume this project is not maintained and I don't want to disturb the stability of this project, and I make a new one, please check it out: https://github.com/RaihanStark/instalivecli

from itsagramlive.

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.