instagram.searchMedia(lat, long); method provides pagination or not?
I think you might have to use searchMedia(double latitude, double longitude, Date maxTimeStamp, Date minTimeStamp, int distance)
and use various date ranges to get media in pages
Not aware of another method.
yes i have just implemented it. Thank you. :)
Released jInstagram v1.1.4 in Maven Central....
Hi guys I'm developing an app using jinstagram Can I write questions to this chat (if I will have questions)?
Is there a way to know that image's description is updated?
AFAIK, I can only get created_time
Released jInstagram v1.1.5 in Maven Central.... Let me know if you find any bugs/issues with it.
Hey guys, I am started to develop a java program so now i want to use the jinstagram for it.
but i get an error code and dont know what to do
Exception in Application start method java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Unknown Source) at com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source) Caused by: java.lang.RuntimeException: Exception in Application start method at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.jinstagram.Instagram.<clinit>(Instagram.java:52) at Main.start(Main.java:69) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source) ... 1 more Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 11 more Exception running application Main
How can I use this in android with Volley/OkHttp/Retrofit?
I am under the impression that I need to write an AsyncTask for every call I make, but I am trying to avoid this and find a generic approach.
Hey folks, I submitted #187 to remove logging impl jars from the runtime classpath. Have a look if you can. This aids in integrating the library into an application that provides their own implementation for slf4j.
Hey there, could you answer when documentation will be updated ?
Hey, does anyone know if you can authenticate with instagram 100% on the server?
It seems that they always want to redirect the user to a browser to login
But I'm trying to automate a media search that runs fully on a server
You need to obtain the token first via OAuth (requiring browser for Auth). Then just use jInstagram with the token on the back end.
ok thanks, but doesn't the access token expire?
so we will manually have to keep recreating access tokens?
Tokens can be expired by instagram or revoked by the user, but otherwise are reliable to use for many api calls. To my knowledge, you will have to call the instagram Auth Url to get a new token but this could be automated.