استخدم هذا الدعم لاستكشاف الأخطاء وإصلاحها والاطلاع على الأسئلة المتكررة.
This error usually means you need to:
business_management
, ads_management
, and standard tier access for your app.Without standard-tier access, you can't use certain features of the Marketing APIs.
curl -i -X GET \ "https://graph.facebook.com/<API_VERSION>/<extended credit line id>?fields=receiving_business&access_token=<access_token>"
Each child Business Manager will have a unique allocation config whose ID you can extract from the API call above. Now use the allocation config ID in the API call below:
curl -i -X POST \ -d “amount=<amount>” \ "https://graph.facebook.com/<API_VERSION>/<allocation config id>?fields=access_token=<access token> "
Alternatively, you can just delete the config and create a new one:
curl -i -X DELETE \ "https://graph.facebook.com/<API_VERSION>/<allocation config id>?fields=access_token=<Access_token> "
GET <graph>/<API_VERSION>/<BUSINESS_ID>/owned_businesses?client_user_id=<app_scoped_user_id>
{ "error": { "message": "(#10) You do not have permission to perform this action. This action requires that you can MANAGE_PERMISSIONS for this business account.", "type": "OAuthException", "code": 10, "fbtrace_id": "alphanumeric string" } }
Most likely the access token you used is not an admin of the parent Business Manager. You should not use the client’s user access token or the child Business Manager admin system user token.
{ "error": { "message": "The Facebook Page you've tried to add is already owned by another Business Manager. You can still request access to this Page, but your request will need to be approved by the Business Manager that owns it.", "type": "OAuthException", "code": 3918, "error_subcode": 1690024, "is_transient": false, "error_user_title": "Facebook Page Already Belongs to a Business", "error_user_msg": "The Facebook Page you've tried to add is already owned by another business. You can still request access to this Page, but your request will need to be approved by the business that owns it.", "fbtrace_id": "alphanumeric string" } }
The primary page has already been set on another Business Manager. It could be that the page has been set on a user’s Business Manager or is connected to an Instagram profile. To solve this, you can use the shared_page_id
field when creating the business or updating the business.
Currently, we only support a line of credit payment method for this setup through the API.
We recommend storing information associated with the user, including:
This recommendation makes it easier to manage and reduces overhead.
Yes. A user can be associated with more than one child Business Manager per partner. Each existing child under the partner must have an assigned primary page.
Yes, the parent Business Manager can grant access to a user if they choose to do so.
While your app is waiting for business_management, ads_management, and Ads Management Standard Access permissions, you can still test end-to-end:
You must meet these prerequisites:
To set up a Heroku server that listens for notifications on Webhooks:
You can either delete the allocation config of the shared extended credit and create a new one or modify the existing one. The allocation config ID is the ID returned at the time of sharing the LOC. You alternatively can fetch it via the API later with this API call that returns allocation config IDs for the extended credit.