Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geolocation #1

Open
darthgelum opened this issue Jun 2, 2016 · 7 comments
Open

Geolocation #1

darthgelum opened this issue Jun 2, 2016 · 7 comments

Comments

@darthgelum
Copy link

Hi! It's great gem!

So, can i search by location?

@sborod
Copy link
Owner

sborod commented Jun 2, 2016

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
Copy link

can this search by hashtag?

@sborod
Copy link
Owner

sborod commented Jun 2, 2016

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

@deliveryyyyguy
Copy link

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

@deliveryyyyguy
Copy link

This is great! Thank you!

@sborod
Copy link
Owner

sborod commented Jun 2, 2016

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants