public class InstagramUserInfoProvider extends InstagramAbstractProvider
Modifier and Type | Field and Description |
---|---|
static String |
STREAMS_ID |
config, dataQueue
Constructor and Description |
---|
InstagramUserInfoProvider() |
InstagramUserInfoProvider(InstagramConfiguration config) |
Modifier and Type | Method and Description |
---|---|
protected InstagramDataCollector |
getInstagramDataCollector()
Return the data collector to use to connect to instagram.
|
static void |
main(String[] args)
To use from command line:
Supply (at least) the following required configuration in application.conf:
instagram.clientKey
instagram.usersInfo.authorizedTokens
instagram.usersInfo.users
Launch using:
mvn exec:java \
-Dexec.mainClass=org.apache.streams.instagram.provider.userinfo.InstagramUserInfoProvider \
-Dexec.args="application.conf userinfo.json"
|
cleanUp, getId, isRunning, prepare, readCurrent, readNew, readRange, setAuthorizedUserTokens, setDefaultAfterDate, setDefaultBeforeDate, setInstagramClientId, setUsersWithAfterDate, startStream
public static final String STREAMS_ID
public InstagramUserInfoProvider()
public InstagramUserInfoProvider(InstagramConfiguration config)
protected InstagramDataCollector getInstagramDataCollector()
InstagramAbstractProvider
getInstagramDataCollector
in class InstagramAbstractProvider
InstagramDataCollector
public static void main(String[] args) throws Exception
args
- argsException
- ExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.