我正在为我的客户使用 facebook 的业务入职 API 来创建 Facebook 广告。Facebook 营销 API 版本是v4.0,我们使用“ PHP facebook graph SDK ”进行所有 API 调用。我创建 Facebook 活动的申请流程如下:
1)Create a Child Business Manager for a client Facebook account
2)Set Up Payment Method
3)Get the Child System User Token
4)Fetch the System User's ID 5)Get the Funding Source ID
6)Create a New Ad Account with the Default Funding Source 7)Add
the System User as an Admin to the New Ad Account 8)Claim a page
for business as an AGENCY,[Document link]
(https://developers.facebook.com/docs/marketing-api/business-manager/asset-management#pages-claim)
9)Assign system to the page,[Document link](
https://developers.facebook.com/docs/marketing-api/business-manager/asset-management#pages-add-people)
在将系统用户分配给页面之前,我正在调用 GET API
<https://graph.facebook.com/v4.0/{PAGE_ID}/assigned_users?business={business_id}>
以读取 Facebook 页面的特定权限但是此 API 调用导致错误“(#10)此端点需要'manage_pages'权限或'页面公共内容访问'功能. 有关详细信息,请参阅https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages
和https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS。”
我正在为此 API 使用系统用户访问令牌,并且我已经为令牌提供了 manage_pages 权限。这个错误的原因是什么?我是否也需要“页面公共内容访问”权限?