NicklasWallgren / instagram-api

Instagram Private API
MIT License
147 stars 46 forks source link

Feed API not working anymore #37

Closed EmanueleCoppola closed 3 years ago

EmanueleCoppola commented 3 years ago

It seems that the API to get the feed by the user is not working anymore. This is the response that I get from the Guzzle client. I saw that the new API could be something like /users/USERNAME/media/recent/ I didn't go deeper in this issue, did you?

Client error: `POST https://i.instagram.com/api/v1/feed/user/USERNAME/` resulted in a `404 Not Found` response:
<!DOCTYPE html>
<html lang="en" class="no-js logged-in client-root touch">
    <head>
        <meta charset="utf-8">
    (truncated...)
NicklasWallgren commented 3 years ago

@EmanueleCoppola Hey, It's working fine in my latest branch. I'll release it tomorrow.

Mattiam2 commented 3 years ago

News about the update?

NicklasWallgren commented 3 years ago

@EmanueleCoppola @Mattiam2

I'll be releasing https://github.com/NicklasWallgren/instagram-api/pull/38 in a few hours. Could you please verify that the feed API is working for you?

Have a look at https://github.com/NicklasWallgren/instagram-api/blob/feature/remove-redundant-requests-and-serializers/examples/feed_by_user.php

Please bear in mind that this PR brings some major changes to the API, in preparations for the upcoming 1.0 release.

NicklasWallgren commented 3 years ago

Please try out the latest release, and open a new ticket if the issue persist.