with Facebook Graph API and Mobile Text Alerts?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
facebook_graph_api: {
type: "app",
app: "facebook_graph_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.facebook.com/me/`,
headers: {
Authorization: `Bearer ${this.facebook_graph_api.$auth.oauth_access_token}`,
},
})
},
})
The Mobile Text Alerts API allows for the automation of SMS messaging processes, enabling you to send alerts, reminders, and notifications directly to people's phones. With Pipedream's serverless platform, you can integrate these text messaging capabilities into complex workflows with various triggers and actions from a multitude of services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mobile_text_alerts: {
type: "app",
app: "mobile_text_alerts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mobile-text-alerts.com/v3/subscribers`,
headers: {
Authorization: `Bearer ${this.mobile_text_alerts.$auth.api_key}`,
},
})
},
})