All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.syndesis.connector.twitter.json Maven / Gradle / Ivy

{
  "id": "twitter",
  "name": "Twitter",
  "description": "Direct and event-driven interaction with tweets, timelines, mentions, searches",
  "icon": "fa-twitter",
  "dependencies": [
    {
      "type": "MAVEN",
      "id": "@project.groupId@:@project.artifactId@:@project.version@"
    }
  ],
  "configuredProperties": {},
  "tags": [
    "verifier"
  ],
  "properties": {
    "accessToken": {
      "kind": "property",
      "displayName": "Access Token",
      "group": "security",
      "label": "security",
      "required": false,
      "type": "string",
      "javaType": "java.lang.String",
      "tags": [],
      "deprecated": false,
      "secret": true,
      "componentProperty": true,
      "labelHint": "The access token"
    },
    "accessTokenSecret": {
      "kind": "property",
      "displayName": "Access Token Secret",
      "group": "security",
      "label": "security",
      "required": false,
      "type": "string",
      "javaType": "java.lang.String",
      "tags": [],
      "deprecated": false,
      "secret": true,
      "componentProperty": true,
      "labelHint": "The access token secret"
    },
    "consumerKey": {
      "kind": "property",
      "displayName": "Consumer Key",
      "group": "security",
      "label": "security",
      "required": false,
      "type": "string",
      "javaType": "java.lang.String",
      "tags": [
        "oauth-client-id"
      ],
      "deprecated": false,
      "secret": true,
      "componentProperty": true,
      "labelHint": "The consumer key"
    },
    "consumerSecret": {
      "kind": "property",
      "displayName": "Consumer Secret",
      "group": "security",
      "label": "security",
      "required": false,
      "type": "string",
      "javaType": "java.lang.String",
      "tags": [
        "oauth-client-secret"
      ],
      "deprecated": false,
      "secret": true,
      "componentProperty": true,
      "labelHint": "The consumer secret"
    }
  },
  "actions": [
    {
      "name": "Mention",
      "description": "Search for tweets that mention you.",
      "id": "io.syndesis:twitter-mention-action",
      "pattern": "From",
      "actionType": "connector",
      "descriptor": {
        "componentScheme": "twitter-timeline",
        "inputDataShape": {
          "kind": "none"
        },
        "outputDataShape": {
          "name": "Twitter Mention",
          "description": "Search result for tweets that mention you. The object represents one single status of a user",
          "kind": "java",
          "type": "twitter4j.Status"
        },
        "configuredProperties": {
          "timelineType": "MENTIONS",
          "delay": "30000"
        },
        "propertyDefinitionSteps": []
      }
    },
    {
      "name": "Search",
      "description": "Search for tweets that contain text that you specify.",
      "id": "io.syndesis:twitter-search-action",
      "pattern": "From",
      "actionType": "connector",
      "descriptor": {
        "componentScheme": "twitter-search",
        "inputDataShape": {
          "kind": "none"
        },
        "outputDataShape": {
          "name": "Twitter Search",
          "description": "Search result for tweets that contain text that you specify. The object represents one single status of a user",
          "kind": "java",
          "type": "twitter4j.Status"
        },
        "configuredProperties": {},
        "propertyDefinitionSteps": [
          {
            "name": "Search criteria",
            "description": "Specify criteria for search",
            "properties": {
              "filterOld": {
                "kind": "parameter",
                "displayName": "Ignore tweets previously found",
                "group": "filter",
                "label": "consumer,filter",
                "required": false,
                "type": "boolean",
                "javaType": "boolean",
                "tags": [],
                "deprecated": false,
                "secret": false,
                "defaultValue": true,
                "componentProperty": false,
                "labelHint": "Filter out old tweets that have previously been polled"
              },
              "keywords": {
                "kind": "path",
                "displayName": "Keywords",
                "group": "common",
                "required": true,
                "type": "string",
                "javaType": "java.lang.String",
                "tags": [],
                "deprecated": false,
                "secret": false,
                "componentProperty": false,
                "labelHint": "Multiple search values can be separated with comma"
              },
              "delay": {
                "kind": "parameter",
                "displayName": "Delay",
                "group": "scheduler",
                "label": "consumer,scheduler",
                "required": false,
                "type": "integer",
                "javaType": "long",
                "tags": [],
                "deprecated": false,
                "secret": false,
                "defaultValue": 5000,
                "componentProperty": false,
                "labelHint": "Milliseconds before the next poll"
              }
            }
          }
        ]
      }
    }
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy