gpt4 book ai didi

Facebook graph v2.11 : Only owners of the URL have the ability to specify the picture, 名称、缩略图或描述参数

转载 作者:行者123 更新时间:2023-11-30 05:26:49 28 4
gpt4 key购买 nike

今天我正在使用 Facebook graph v2.11 自动发布到 facebook 但看到错误

Only owners of the URL have the ability to specify the picture, name, thumbnail or description params

我的代码

try {
$response = $fb->post('/me/feed', $linkData, $token);
} catch (Facebook\Exceptions\FacebookResponseException $e) {
trigger_error($e->getMessage());
return false;
} catch (Facebook\Exceptions\FacebookSDKException $e) {
trigger_error($e->getMessage());
return false;
}

请帮帮我,谢谢!

最佳答案

手动设置图片、名称、标题、缩略图和描述是deprecated .

但是,最近这方面发生了变化。来自docs :

"As of November 7, 2017, link customization is available however the link must be owned by the posting page and a page access token is required. To verify ownership, check the ownership_permissions{can_customize_link_posts} field on the URL node. See our Link Ownership Guide for more information. For versions 2.10 and lower, picture, name, thumbnail, and description are deprecated. caption is deprecated for all versions."

但是,这仅适用于通过 Domain Verification 的页面.

关于Facebook graph v2.11 : Only owners of the URL have the ability to specify the picture, 名称、缩略图或描述参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47348337/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com