2
我想整合facebook观众sdk。文件很难解决。我被困在一个地方Facebook图示api全场观众fbid不接受
FacebookAdsApi.init(app_id=APP_ID,app_secret=APP_SECRET,access_token=ACCES
_TOKEN)
ad_account = AdAccount(fbid=FACEBOOK_ID)
params = {
CustomAudience.Field.subtype: CustomAudience.Subtype.custom,
CustomAudience.Field.name: 'My new CA',
CustomAudience.Field.description: 'People who bought on my website',
}
audience = ad_account.create_custom_audience(params=params)
当我发送对python reqeust底部警告来找我。但是我相信我的FBID是真实的我得到了必要的权限,但仍是同样的情况
Status: 400
Response:
{
"error": {
"fbtrace_id": "HyhfMfSiw3S",
"type": "GraphMethodException",
"message": "Unsupported post request. Object with ID 'act_xxxxxxxx' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"error_subcode": 33,
"code": 100
}
}
这不提供问题的答案。一旦你有足够的[声誉](https://stackoverflow.com/help/whats-reputation),你将可以[对任何帖子发表评论](https://stackoverflow.com/help/privileges/comment);相反,[提供不需要提问者澄清的答案](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can- I-DO-代替)。 - [来自评论](/ review/low-quality-posts/18202691) –