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

New Login Permissions #246

Open enginedilema opened 7 years ago

enginedilema commented 7 years ago

Add new login permissions

Instagram.php line 74 private $_scopes = array('basic', 'likes', 'comments', 'relationships','public_content');

link: https://www.instagram.com/developer/authorization/

getUserLikes

Instagram.php line 167 APIInvalidParametersError" ["error_message"]=> string(31) "Count must be larger than zero.

public function getUserLikes($limit = 0) to public function getUserLikes($limit = 10)

Dhavalptel commented 6 years ago

Also, there is another one scope 'follower_list' need to add.

Error: getLoginUrl() - The parameter isn't an array or invalid scope permissions used.