cosenary / Instagram-PHP-API

An easy-to-use PHP Class for accessing Instagram's API.
http://cosenary.github.com/Instagram-PHP-API
BSD 3-Clause "New" or "Revised" License
1.46k stars 782 forks source link

Method getMediaComments requires authentication #192

Open markaf opened 8 years ago

markaf commented 8 years ago

The documentation of the API of Instagram says that needs authentication. Get_media_comments

I had to change the last parameter to true and now it works.

public function getMediaComments($id) {
    return $this->_makeCall('media/' . $id . '/comments', true);
  }

Is that true? Or am I wrong?

Thank you.

RobWiddick commented 8 years ago

I'm submitting a fix for this in my pull request. Coming soon!

RobWiddick commented 8 years ago

Sent fix. Make sure your instagram app has been reviewed so that it has access to those new scopes.

Brumley commented 8 years ago

@robertark Hi, Robert. Could you please tell me how did you manage to get your app accepted by the review permission protocol? We tried that many times and we came along with all the Use cases and stuff and they have always declined our request :( Please let me know))) Thanks Martin

RobWiddick commented 8 years ago

@Brumley I have yet to be accepted. We're getting declined as well... I'm thinking Instagram is getting more and more strict on applications. Ugh.

Brumley commented 8 years ago

@robertark Thanks for your response alot :) Let me know if youi would go through the review. I will let you know also when ill advance:+1: