sborod / ruby-instagram-scraper

А simple module for requests to Instagram without an API key.
MIT License
39 stars 29 forks source link

Geolocation #1

Open darthgelum opened 8 years ago

darthgelum commented 8 years ago

Hi! It's great gem!

So, can i search by location?

sborod commented 8 years ago

Hello and thank you!

This gem uses web interface of Instagram. As I know, users can not search by location from web browser. So, I think it is impossible to realize this feature in the gem. But may be I am wrong, and I will try to investigate the question.

deliveryyyyguy commented 8 years ago

can this search by hashtag?

sborod commented 8 years ago

Yes. Please, try: response = RubyInstagramScraper.search( "gopro" ) response["hashtags"]

deliveryyyyguy commented 8 years ago

wow great job this gem is cool. How would I go about displaying the "profile_pic_url" in views?

deliveryyyyguy commented 8 years ago

This is great! Thank you!

sborod commented 8 years ago

Please, update gem to 'v0.1.7': gem 'ruby-instagram-scraper', '~> 0.1.7' bundle update

use method "get_user" for fetching "profile_pic_url": RubyInstagramScraper.get_user("gopro")["profile_pic_url"]

ustincameron commented 8 years ago

This is great work! How do I use this for pagination? RubyInstagramScraper.get_user_media_nodes( "gopro", "1259825963188747360" )