Instagram API

require "instagram_api_client"

InstagramApi.config do |config|
	config.access_token = ENV['INST_TOKEN']
end  
images = (InstagramApi.user.recent_media ({count: 7})).data.map { |d|
	d.images.standard_resolution.url
}