Code Monkey home page Code Monkey logo

Comments (18)

TheM4hd1 avatar TheM4hd1 commented on June 5, 2024 1

@freedevcoder

try? handler.login(cache: sessionCache) { (resLogin) in
    if resLogin.isSucceeded {
        // you're logged in now.
    }
}

from swiftyinsta.

freedevcoder avatar freedevcoder commented on June 5, 2024 1

ممنون مهدی عزیز

from swiftyinsta.

TheM4hd1 avatar TheM4hd1 commented on June 5, 2024

Your account or ip-address temporary blocked by this API.
according to the mgp25:

This is Instagram's response when your account has been banned from the API for detected spam/bot behavior.
"sentry block" means that Instagram has blocked your account's ability to use this PHP API library (and all other reverse-engineered libraries like it), because of either:

Spamming or otherwise abusing (such as mass-following)
Or repeatedly and heavily misusing APIs, in a way humans would never call them.
People using this library like a normal person don't get sentry blocked. Which means that you've had to do something bad to get blocked by Instagram.

NOTE: You can use web login method for authentication.

from swiftyinsta.

reefer avatar reefer commented on June 5, 2024

i appreciate the fast response i'll give that a go thanks!

from swiftyinsta.

TheM4hd1 avatar TheM4hd1 commented on June 5, 2024

your welcome
if there is no other questions, close the issue.

from swiftyinsta.

cprovatas avatar cprovatas commented on June 5, 2024

hi, im getting sentry block even with new account. are you sure they not blocking default user-agent?

from swiftyinsta.

TheM4hd1 avatar TheM4hd1 commented on June 5, 2024

you can change the default user-agent #10
but I can login with default user-agent, I don't have any problem.
the second way is using Web-Login feature.

from swiftyinsta.

freedevcoder avatar freedevcoder commented on June 5, 2024

hi
I try default code to login my account , but failed.
plz help me.

{"message": "Sorry, there was a problem with your request.", "status": "fail", "error_type": "sentry_block"}

[-] Login failed: unExpected("sentry_block")

from swiftyinsta.

TheM4hd1 avatar TheM4hd1 commented on June 5, 2024

@freedevcoder Hello, use web login feature.
I'm working on a second way to login.
for now web login should solve your problem.

from swiftyinsta.

freedevcoder avatar freedevcoder commented on June 5, 2024

thanks

do you have sample for web login solution?

from swiftyinsta.

TheM4hd1 avatar TheM4hd1 commented on June 5, 2024

There is en example here:
#9 (comment)

from swiftyinsta.

freedevcoder avatar freedevcoder commented on June 5, 2024

thanks .
do you help me for save SessionCache to file and use again after run app?

from swiftyinsta.

TheM4hd1 avatar TheM4hd1 commented on June 5, 2024

these comments will help you.
#9 (comment)
#9 (comment)

from swiftyinsta.

freedevcoder avatar freedevcoder commented on June 5, 2024

سلام مهدی عزیز
بعد از اینکه مقدار سشن را در فایل ذخیره کردم - در کجا و چگونه از ان استفاده کنم.؟
لطفا به من کمک کن.

from swiftyinsta.

TheM4hd1 avatar TheM4hd1 commented on June 5, 2024

Use Siwa to fix login problems.
it's a new framework to fix login issues.
https://github.com/TheM4hd1/Siwa

from swiftyinsta.

RealOlympusDev avatar RealOlympusDev commented on June 5, 2024

@TheM4hd1

Use Siwa to fix login problems.
it's a new framework to fix login issues.
https://github.com/TheM4hd1/Siwa

SessionCache.from(cookeis: cookeis) is not a function in the latest commit of SwiftyInsta

from swiftyinsta.

TheM4hd1 avatar TheM4hd1 commented on June 5, 2024

@RealOlympusDev
feature added, use the latest version 1.0.1

from swiftyinsta.

RealOlympusDev avatar RealOlympusDev commented on June 5, 2024

@RealOlympusDev
feature added, use the latest version 1.0.1

Thanks :)

from swiftyinsta.

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.