mckelvey / instagram-node-lib

The Instagram Node Lib is a helper library for node that makes communicating with the Instagram API easy.
http://david.mckelveycreative.com/
Other
303 stars 49 forks source link

Instagram.tags.unsubscribe_all(); throws exception. #32

Open datpham23 opened 9 years ago

datpham23 commented 9 years ago

params['object'] = 'tag'; TypeError: Cannot set property 'object' of undefined

tchapi commented 9 years ago

Have you passed the complete or error function in the params ?

Instagram.tags.unsubscribe_all({
    complete: function(data, pagination) {
        // do stuff
    }
});
eantz commented 8 years ago

I face the similar problem with this function

But the error message is different :

SyntaxError: Unexpected token < occurred: <html>
<head>
<title>5xx Server Error</title>
</head>

<body>
<h1>5xx Server Error</h1>
</body>

</html>
 in _request
papayaah commented 8 years ago

having this issue too with the subscribe - perhaps the api endpoints are wrong or sending erroneous parameters using latest master 32dcb23f7104feae9c49810e5531be20f9d23cf8