with Databricks (OAuth - Service Principal) and Facebook Pages?
Create a new comment on a post on a Facebook Page. See the documentation
Retrieves a comment on a post on a Facebook Page. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
databricks_oauth: {
type: "app",
app: "databricks_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.databricks_oauth.$auth.domain}.cloud.databricks.com/api/2.0/clusters/list`,
headers: {
Authorization: `Bearer ${this.databricks_oauth.$auth.oauth_access_token}`,
},
})
},
})
The Facebook Pages API on Pipedream allows you to automate interactions with your Facebook Page. Using Pipedream's serverless platform, you can create workflows that respond to events, publish new content, manage posts, and analyze Page performance data. This API enables seamless integration with other apps and services, allowing for complex automations and data-driven decision-making.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
facebook_pages: {
type: "app",
app: "facebook_pages",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.facebook.com/me/`,
headers: {
Authorization: `Bearer ${this.facebook_pages.$auth.oauth_access_token}`,
},
})
},
})