Skip to content

Facebook Graph API 节点(Facebook Graph API node)#

使用 Facebook Graph API 节点来自动化 Facebook Graph API 的工作,并将 Facebook Graph API 与其他应用集成。n8n 内置支持广泛的 Facebook Graph API 功能,包括使用 GET、POST、DELETE 查询针对主机 URL、请求方法等多个参数以及更多功能。

🌐 Use the Facebook Graph API node to automate work in Facebook Graph API, and integrate Facebook Graph API with other applications. n8n has built-in support for a wide range of Facebook Graph API features, including using queries GET POST DELETE for several parameters like host URL, request methods and much more.

本页列出了 Facebook Graph API 节点支持的操作列表以及更多资源的链接。

🌐 On this page, you'll find a list of operations the Facebook Graph API node supports and links to more resources.

凭证

有关设置身份验证的指导,请参考 Facebook Graph API 凭据

操作(Operations)#

  • 默认
    • 获取
    • 发布
    • 删除
  • 视频上传
    • 获取
    • 发布
    • 删除

参数(Parameters)#

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

  • 主机 URL:请求的主机 URL。可用的选项如下:
    • 默认:请求会被传递到 graph.facebook.com 主机 URL。用于大部分请求。
    • 视频:请求会被传递到 graph-video.facebook.com 主机 URL。仅用于视频上传请求。
  • HTTP 请求方法:此请求要使用的方法,可从以下选项中选择:
    • 获取
    • 发布
    • 删除
  • Graph API 版本:此请求将使用的 Facebook Graph API 版本。
  • 节点:要操作的节点,例如 /<page-id>/feed。可以在官方 Facebook 开发者文档中了解更多信息。
  • :操作节点的边。边表示附加到节点的对象集合。
  • 忽略 SSL 问题:即使无法验证 SSL 证书,也可以切换此选项以继续下载响应。
  • 发送二进制文件:适用于 POST 操作。如果启用,将二进制数据作为请求体发送。需设置以下内容:
    • 输入二进制字段:包含要上传文件的数据的二进制属性名称。

模板和示例(Templates and examples)#

Template widget placeholder.