Skip to content

flowground/twitter-component

 
 

Repository files navigation

X (Twitter) Component

Table of Contents

Description

X (Twitter) Component is designed to connect with X (Twitter) API v2

Credentials

To authenticate the component you will need to create an App in developer portal’s App page, the component uses OAuth 1.0a. more info

Component credentials configuration fields:

  • Consumer key (string, required) - Consumer API key
  • Consumer secret (string, required) - Consumer API secret
  • Access token key (string, required) - Authentication access token
  • Access token secret (string, required) - Authentication access secret

Actions

Post tweet

Post new tweet

Configuration Fields

none

Input Metadata

  • Text - (string, required): Text of your tweet

Output Metadata

  • id - (string, required): Unique identifier of your tweet

  • text - (string, required): Text of your tweet

  • edit_history_tweet_ids - (array, required): list of tweet ids edit history

Make Raw Request

Executes custom request.

Configuration Fields

none

Input Metadata

  • Url - (string, required): Path of the resource. e.g.: /2/users/me

  • Method - (string, required): HTTP verb to use in the request, one of GET, POST, PUT, PATCH, DELETE.

  • Request Body or Query - (object, optional): Body of the request to send for POST, PUT, and PATCH or query for GET and DELETE methods

Examples

Get logged user information with creation date using Url

image

{
  "method": "GET",
  "url": "/2/users/me?user.fields=created_at"
}

Get logged user information with creation date using Request Body or Query field

image

{
"method": "GET",
"url": "/2/users/me",
"data": {
  "user.fields": "created_at"
  }
}

Output Metadata

  • headers - (object, required): HTTP headers of the response.
  • responseBody - (object, optional): HTTP response body.

Triggers

About

Twitter component for the elastic.io iPaaS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.1%
  • JavaScript 13.9%