PHP Facebook - 发帖时以编程方式覆盖应用程序名称

PHP Facebook - override app name programmatically when posting

我不想在 post 访问 facebook 时覆盖应用程序名称(它显示在每个 post 中),我不想永远更改应用程序名称,只是对于 post。 我知道这在某种程度上是可能的。如果我从 FB 更改 app_name,我会看到使用该应用程序制作的所有 post 都已更改,我只想覆盖每个 post 的名称。 请参阅附图。

enter link description here

You can update an Application by making a POST request to /{application_id}.

来源:https://developers.facebook.com/docs/graph-api/reference/v2.4/application#Updating

我猜您想更新 "app_name" 字段。正如 CBroe 评论的那样,它很可能会更改所有 post 的名称,因此不可能按 post 更改名称。无论如何都会很奇怪。

如果你只是想隐藏它,我建议使用著名的 sharer.php - 不需要授权或应用程序。