   Instagram.set('client_id', config.client_key)
   Instagram.set('client_secret', config.client_secret)
 
-          
 
 
+

    else
      msg.send 'Please provied tag'
      return
    Instagram.tags.recent 
      name: tag
      count: count
      complete: (data) ->
       for item in data
          msg.send item['images']['standard_resolution']['url']

authenticateUser = (msg) ->
  config =
    client_key:     process.env.HUBOT_INSTAGRAM_CLIENT_KEY
    client_secret:  process.env.HUBOT_INSTAGRAM_ACCESS_KEY
 
  unless config.client_key
    msg.send "Please set the HUBOT_INSTAGRAM_CLIENT_KEY environment variable."
    return

#
# Commands:
#   hubot insta tag <tag> <count>- Show recent instagram tags
#   by default count is 1
#
# Author:
#   raysrashmi
