Git Product home page Git Product logo

Comments (14)

claytoncohn avatar claytoncohn commented on May 24, 2024

I have figured out that it is only with my own user name...others' seem to work fine. This does seem to be permanent though as I still cannot do anything on Instagram unless it's on the app directly.

from instagramkit.

pingusNikalex avatar pingusNikalex commented on May 24, 2024

i have some problem. Can't any more like any photos. Always get "Request failed: bad request (400)";
here is more info:
Error Domain=AFNetworkingErrorDomain Code=-1011 "Request failed: bad request (400)" UserInfo=0x155e4b70 {NSErrorFailingURLKey=https://api.instagram.com/v1/media/739603952128906673_1209651940/likes, AFNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0x156ad280> { URL: https://api.instagram.com/v1/media/739603952128906673_1209651940/likes } { status code: 400, headers {
"Cache-Control" = "private, no-cache, no-store, must-revalidate";
"Content-Language" = en;
"Content-Type" = "application/json; charset=utf-8";
Date = "Tue, 10 Jun 2014 13:14:24 GMT";
Expires = "Sat, 01 Jan 2000 00:00:00 GMT";
Pragma = "no-cache";
Server = nginx;
"Set-Cookie" = "csrftoken=5376a86a81e3b207cde053b85d789166; expires=Tue, 09-Jun-2015 13:14:24 GMT; Max-Age=31449600; Path=/";
Vary = "Cookie, Accept-Language";
"x-ratelimit-limit" = 5000;
"x-ratelimit-remaining" = 4997;
} }, NSLocalizedDescription=Request failed: bad request (400)}

from instagramkit.

claytoncohn avatar claytoncohn commented on May 24, 2024

That error is because you sent too many requests so you won't be able to
use the API with your own login any more. For how long, I don't know.

from instagramkit.

pingusNikalex avatar pingusNikalex commented on May 24, 2024

i send max 2 request - and nothing don't work

from instagramkit.

claytoncohn avatar claytoncohn commented on May 24, 2024

thats weird. im having some difficult issues too but it's with pretty
complex stuff so im working out the kinks

On Tue, Jun 10, 2014 at 9:23 AM, pingusNikalex [email protected]
wrote:

i send max 2 request - and nothing don't work


Reply to this email directly or view it on GitHub
#45 (comment)
.

Best Regards,

Clayton

claytoncohn.me http://www.claytoncohn.me/
@claytoncohn http://www.twitter.com/claytoncohn

from instagramkit.

chrispmonkey avatar chrispmonkey commented on May 24, 2024

I'm having the exact same issue. Any luck in resolving it? Or finding a quick fix?

from instagramkit.

claytoncohn avatar claytoncohn commented on May 24, 2024

@chrispmonkey Yes, I did. The problem is on Instagram's side. They cut users off after too many requests. I went back in some weeks later and tried again and it once again worked. You just have to wait it out. Also, @shyambhat, were you aware that your getMediaFromUser methods don't work? They always fail. Just a heads up.

from instagramkit.

dezinezync avatar dezinezync commented on May 24, 2024

@claytoncohn : can you please open a new issue regarding the getMediaFromUser while include the error message/code that you receive?

from instagramkit.

chrispmonkey avatar chrispmonkey commented on May 24, 2024

@claytoncohn @shyambhat @dezinezync : Do you guys have any good suggestions in ways to limit or stagger the liking calls to instagram's API in order to best prevent an app or the user from being blocked or marked as spam? What are the best solutions that you guys have found to avoid this issue? Any help would be appreciated. I have looked everywhere and have not found a solution or guidance. This is honestly the last thing I need to finish my app.

from instagramkit.

claytoncohn avatar claytoncohn commented on May 24, 2024

Yes. use the sleep function.

from instagramkit.

rollinsw avatar rollinsw commented on May 24, 2024

I'm having the same issue with this call. It seems to happen randomly and I am no where near the api rate limits. It happens maybe once out of every 20 calls to retrieve user details.

from instagramkit.

claytoncohn avatar claytoncohn commented on May 24, 2024

It's not a matter of the API limit, Instagram has additional (undisclosed)
algorithms that prohibit certain functions depending on time, account, etc.

On Tue, Jan 13, 2015 at 9:19 AM, Bill Rollins [email protected]
wrote:

I'm having the same issue with this call. It seems to happen randomly and
I am no where near the api rate limits. It happens maybe once out of every
20 calls to retrieve user details.


Reply to this email directly or view it on GitHub
#45 (comment)
.

Best Regards,

Clayton

claytoncohn.me http://www.claytoncohn.me/
@claytoncohn http://www.twitter.com/claytoncohn

from instagramkit.

rollinsw avatar rollinsw commented on May 24, 2024

After further testing, it's even more confusing. It seems to happen with certain users on certain days. On day 1, I will receive this error 100% of the time for user A. But I can still retrieve details for User B, User C and User D. On day 2, I will not receive the error for user A, but might receive it for User C 100% of the time.

I am making authenticated calls and am WAY below any rate limits. Really strange and I'd be willing to bet there is some problem with whatever algorithm Instagram is using for this.

Anyway, sorry to clutter up the issues for InstagramKit, this clearly is a problem on Instagram's side.

from instagramkit.

rollinsw avatar rollinsw commented on May 24, 2024

FYI, the issue has gone away for me. I have a feeling it is related to this: http://stackoverflow.com/questions/27915852/instagram-api-no-longer-grants-access-to-private-accounts

from instagramkit.

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.