org.deepamehta.plugins.twitter
public class TwitterPlugin extends de.deepamehta.core.osgi.PluginActivator implements TwitterService
| Constructor and Description |
|---|
TwitterPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initialize the migrated soundsets ACL-Entries.
|
de.deepamehta.core.Topic |
searchMoreTweets(long searchId,
boolean nextPage)
This method executes an existing search-query to either:
(a) fetch more (older) tweets for the same query or
(b) fetch new tweets and assign them to the current search result
|
de.deepamehta.core.Topic |
searchPublicTweets(long searchId,
String query,
String resultType,
String lang,
String location)
Fetches public tweets matching the given
query, maintains a search-query topic and
references existing tweets and users, as it should be. |
public void init()
init in interface de.deepamehta.core.osgi.PluginContextinit in class de.deepamehta.core.osgi.PluginActivatorpublic de.deepamehta.core.Topic searchMoreTweets(long searchId,
boolean nextPage)
searchMoreTweets in interface TwitterServicesearchId - id of the "Twitter-Search"-Topic to operate onnextPage - true for paging query to next page;
false for fetching most recent tweetspublic de.deepamehta.core.Topic searchPublicTweets(long searchId,
String query,
String resultType,
String lang,
String location)
query, maintains a search-query topic and
references existing tweets and users, as it should be.searchPublicTweets in interface TwitterServicesearchId - Twitter Search Topic IdresultType - "mixed", "recent", "popular"lang - ISO-639-1 Code (2 chars) (optional)location - "lat,lng,radiuskm" (optional)Copyright © 2016. All Rights Reserved.