I am using the ruby Instagram gem. Now, I am wondering how to access to a user's images by tags. Only that specific user's photo.

This is what I use to get the photos

@pics = Instagram.user_recent_media(xxxxxxx)
@pics.map do |p| 
 puts p.images.standard_resolution.url.to_s
end

And this gives me the tags

@pics = Instagram.user_recent_media(xxxxxx)
@pics.map do |p| 
 puts p.tags
end

And this to get all the media with a specific tag

@tag = Instagram.tag_recent_media("test")
@tag.map do |p|
  puts p
end

But, how do I get url of the images of a specific user with those hashtags ?

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.