Andreyco / Instagram-for-PHP

PHP SDK for Instagram API
BSD 2-Clause "Simplified" License
79 stars 33 forks source link

GetMedia needs auth #14

Closed PanMan closed 7 years ago

PanMan commented 7 years ago

I think all calls need auth these days: See https://www.instagram.com/developer/endpoints/ The Instagram API requires an access_token from authenticated users for each endpoint. We no longer support making requests using just the client_id. This change fixed this for the getmedia call, but I think in the new situation auth is always true. If you agree I can create a pull req to remove the auth option (as it will always be true).

Andreyco commented 7 years ago

Thank you! Looks like I will update package to sign all requests by default

PanMan commented 7 years ago

Thanks for the super quick merge! :)