public class InstagramUserInfoProvider extends InstagramAbstractProvider
Modifier and Type | Field and Description |
---|---|
static String |
STREAMS_ID |
client, dataQueue
Constructor and Description |
---|
InstagramUserInfoProvider(InstagramUserInfoProviderConfiguration 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, startStream
public static final String STREAMS_ID
public InstagramUserInfoProvider(InstagramUserInfoProviderConfiguration config)
protected InstagramDataCollector getInstagramDataCollector()
InstagramAbstractProvider
getInstagramDataCollector
in class InstagramAbstractProvider
InstagramDataCollector
public static void main(String[] args) throws Exception
args
- argsException
- ExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.