Reputation: 9
I've tried many ways to use Instagram's API. Many repositories in GitHub have APIs using PHP, but all are obsolete.
https://www.instagram.com/developer/changelog/
I couldn't find endpoints or some way to working with Instagram's API using PHP since there were changes in April. Could someone help me?
I'd like to get some functions like follow and unfollow people.
I'm using Sandbox Mode and have already authorized some accounts for testing, but it always returns me this:
stdClass Object
(
[meta] => stdClass Object
(
[code] => 400
[error_type] => APINotAllowedError
[error_message] => This endpoint has been retired
)
)
Upvotes: 0
Views: 5282
Reputation: 788
Instagram no longer allows you to use API to follow or unfollow people. Look through Instagram API docs to see what is and isn't possible
Upvotes: 2