Formerly known as Twitter. From breaking news and entertainment to sports and politics, get the full story with all the live commentary. Use a X developer app you've created to send API requests.
Emit new event when the specified User receives a Follower See the documentation
Emit new event when the specified User follows a List See the documentation
Emit new event when the specified User is mentioned in a Tweet See the documentation
Emit new event when a new Direct Message (DM) is received See the documentation
Emit new event when a Tweet is liked by the specified User See the documentation
Retrieve Tweets from the last seven days that match a query. See the documentation
Add a single row of data to Google Sheets. See the documentation
Add a member to a list owned by the user. See the documentation
Add multiple rows of data to a Google Sheet. See the documentation
The Twitter API on Pipedream enables you to automate interactions with Twitter, from posting tweets to analyzing social media trends. Pipedream's serverless platform provides the tools to create workflows that trigger on specific Twitter activities, process data, and connect with countless other apps for extensive automation scenarios. With Pipedream's integration, you can listen for events such as new tweets, mentions, or followers, and execute actions like tweeting, retweeting, or even leveraging sentiment analysis to gauge public perception.
import { axios } from "@pipedream/platform"
import twitter from "@pipedream/twitter"
export default defineComponent({
props: {
twitter
},
async run({steps, $}) {
const config = {
url: `https://api.twitter.com/2/users/me`,
params: {
"user.fields": `created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,url,username,verified,withheld`,
expansions: `pinned_tweet_id`,
},
}
const headers = this.twitter._getAuthHeader(config)
return await axios($, {
...config,
headers
})
},
})
The Google Sheets API allows for the creation, reading, updating, and deletion of data within Google Sheets, enabling a robust platform for spreadsheet management and data manipulation. Through Pipedream, you can craft serverless workflows that respond to various triggers, such as webhook events, emails, or scheduled times, to interact with Google Sheets. This synergy can automate reporting, synchronize data across applications, manage inventory, track leads in a CRM, or even conduct survey analysis by updating and retrieving sheet data on the fly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_sheets: {
type: "app",
app: "google_sheets",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_sheets.$auth.oauth_access_token}`,
},
})
},
})