postaddictme / instagram-java-scraper

Instagram Java Scraper. Get account information, photos, videos and comments.
445 stars 149 forks source link

Get an error when calling instagram.getMediasByTag #11

Closed jasoncartercs closed 7 years ago

jasoncartercs commented 7 years ago

When I call instagram.getMediasByTag, I get the following error:

me.postaddict.instagramscraper.exception.InstagramException: Response code is not equal 200. Something went wrong. Please report issue. at me.postaddict.instagramscraper.Instagram.getMediasByTag(Instagram.java:196) at Driver.main(Driver.java:101)

This used to work, but all of a sudden it stopped working.

raiym commented 7 years ago

@jasoncartercs yes. Instagram now requires auth tags and locations

Please take a look: https://github.com/postaddictme/instagram-php-scraper/issues/71

raiym commented 7 years ago

Library will support web login

and maybe official API as well

raiym commented 7 years ago

FYI I has been fixed in php library

jasoncartercs commented 7 years ago

Awesome thank you so much @raiym!!!!

Do you have a time estimate on when this library will support web login?

raiym commented 7 years ago

@jasoncartercs i just have released update with web login

raiym commented 7 years ago

@jasoncartercs or you need some different requirements?

jasoncartercs commented 7 years ago

@raiym I will check it out!

raiym commented 7 years ago

@jasoncartercs oh wait

raiym commented 7 years ago

I thought i am in php scraper thread

raiym commented 7 years ago

@jasoncartercs at weekends

jasoncartercs commented 7 years ago

@raiym No problem. I'll wait until then!

raiym commented 7 years ago
Instagram instagram = new Instagram();
instagram.withCredentials("username", "password");
instagram.login();
instagram.getMediasByTag("hi");