Twitter

Get tweets and make tweet using REST API without any backend coding.

Overview

Twitter is a social media site, and its primary purpose is to connect people and allow people to share their thoughts with a big audience. The Twitter platform allows the famous users to get information to fans in an efficient manner. It is also a fantastic way of promoting events, new releases, or even interviews that are available online. Once a piece of information is published on Twitter it is then available for millions of people to see.

Getting Started

After you create an account and log in to the dashboard, choose Twitter on the collections page. To make Twitter API you need to provide:

  • Consumer Key
  • Consumer Secret
  • Access Token
  • Access Token Secret

To get those values you need to create Twitter application here https://developer.twitter.com

After you create Twitter application, put the required fields on the Twitter Api creation form, click on the submit button and your API is ready.

Api Endpoints

Get Tweets

GET
<team>/twitter/<identifier>

Parameters

Parameter Description
since_id [optional] Returns results with an ID greater than (that is, more recent than) the specified ID.
count [optional] Specifies the number of Tweets to try and retrieve, up to a maximum of 200 per distinct request.
max_id [optional] Returns results with an ID less than (that is, older than) or equal to the specified ID.
trim_user [optional] When set to either true , t or 1 , each Tweet returned in a timeline will include a user object including only the status authors numerical ID.
exclude_replies [optional] This parameter will prevent replies from appearing in the returned timeline.
include_rts [optional] When set to false , the timeline will strip any native retweets (though they will still count toward both the maximal length of the timeline and the slice selected by the count parameter). Note: If you're using the trim_user parameter in conjunction with include_rts, the retweets will still contain a full user object.

Post Tweet

Update your current status, also known as tweeting.

POST
<team>/twitter/<identifier>

Parameters

Parameter Description
status The text of the status update. URL encode as necessary
medias [optional] List of media to associate with the Tweet. You may include up to 4 photos or 1 animated GIF or 1 video in a Tweet