instagram-node-lib
instagram-node-lib copied to clipboard
TypeError: Cannot set property 'path' of undefined
/var/www/node_app/node_modules/instagram-node-lib/lib/class.instagram.media.js:19 params['path'] = "/" + this.parent._api_version + "/media/popular?" + (this.parent._to_querystring(credentials)); ^
TypeError: Cannot set property 'path' of undefined
at InstagramMedia.popular (/var/www/node_app/node_modules/instagram-node-lib/lib/class.instagram.media.js:19:22)
at Object.
My code
Instagram.media.popular();