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

Unable to unsubscribe tags #35

Closed ghost closed 9 years ago

ghost commented 9 years ago

OAuthParameterException occurred: Missing client_id or access_token URL parameter. in _request tag.

instagram.set('client_id', 'xxxx')
instagram.set('client_secret', 'xxxx')

instagram.tags.unsubscribe({
    object: 'tag',
    object_id: 'test',
    aspect: 'media',
    callback_url: 'https://mycallbackurl',
    type: 'subscription',
    id: 'stopthemadness'
  })