Closed fra0074 closed 7 years ago
Can I see the code you are using?
On Jul 9, 2017 9:35 PM, "Francesco Ecclesie" notifications@github.com wrote:
on InstaScrape.user_info_and_posts(username) I got this error:
NoMethodError: undefined method image' for nil:NilClass from /usr/local/opt/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/ gems/insta_scrape-1.1.4/lib/insta_scrape.rb:191:inlog_posts'
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dannyvassallo/insta_scrape/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AFk4ryjg7gRlY-ecMzNcm0S0qbNCvcVOks5sMX_6gaJpZM4OSQzd .
I install your Gem on a clean new project, and from console I am calling:
r = InstaScrape.user_info_and_posts("foofighters") --> it works with this example
but with another username, like mine for example
r = InstaScrape.user_info_and_posts("fraeccl") --> NoMethodError: undefined method image' for nil:NilClass from /usr/local/opt/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/ gems/insta_scrape-1.1.4/lib/insta_scrape.rb:191:inlog_posts'
Is your instagram profile private?
yes it is, means the scrape does not work with private profile?
The scraper can't work with a private profile. It's a scraper. Anything it needs has to be public. That's the nature of this tool.
On Jul 10, 2017 6:22 PM, "Francesco Ecclesie" notifications@github.com wrote:
yes it is, means the scrape does not work with private profile?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dannyvassallo/insta_scrape/issues/23#issuecomment-314266931, or mute the thread https://github.com/notifications/unsubscribe-auth/AFk4r5NhGC5szz4SLb78Od-OtyTQuQycks5sMqQ_gaJpZM4OSQzd .
Closing this as it's not an actual problem.
on InstaScrape.user_info_and_posts(username) I got this error:
NoMethodError: undefined method
image' for nil:NilClass from /usr/local/opt/rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/insta_scrape-1.1.4/lib/insta_scrape.rb:191:in
log_posts'Thanks