From breaking news and entertainment to sports and politics, get the full story with all the live commentary.
Return Tweets that matches your search criteria. See the docs here
Return Tweets that matches your search criteria. See the docs here
Send a message to a public channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here
Add a member to a list. The authenticated user must own the list to be able to add members to it. See the docs here
Send a message to a private channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twitter: {
type: "app",
app: "twitter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twitter.com/1.1/account/verify_credentials.json`,
}, {
token: {
key: this.twitter.$auth.oauth_access_token,
secret: this.twitter.$auth.oauth_refresh_token,
},
oauthSignerUri: this.twitter.$auth.oauth_signer_uri,
})
},
})
With the Slack API, you can build all sorts of integrations and applications to
make your work life easier. Here are just a few examples:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slack: {
type: "app",
app: "slack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://slack.com/api/users.profile.get`,
headers: {
Authorization: `Bearer ${this.slack.$auth.oauth_access_token}`,
},
})
},
})