Как стать счастливее и уверенно идти к своим целям? Все ответы — в книге «Сам себе государство. Как совершить революцию в жизни». Купить Apps - Business Management APIs - Documentation - Facebook for Developers

Apps

A Business Manager can claim apps that belong to a business. This enables you to easily manage apps associated with a business and advertising those apps.

The Business Manager-owned apps don't support role management. If you have to change app roles, you should do that from the app developer dashboard.

View Business-Owned Apps

To see all the applications your business owns:

curl -G \
  -d "access_token=<ACCESS_TOKEN>" \
  "https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID>/owned_apps"

This returns a list of apps associated with a Business Manager.

To see all applications your business has access to, or you have requested access to, but are pending approval, make this call:

curl -G \
  -d "access_token=<ACCESS_TOKEN>" \
  "https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID>/client_apps"
curl -G \
  -d "access_token=<ACCESS_TOKEN>" \
  "https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID>/pending_client_apps"

The response contains permitted_tasks. This is an array of the roles you can assign for that particular ad account.

Remove Apps from Business Manager

To remove an app from the Business Manager, make this DELETE call:

curl \
  -X DELETE \
  -F "app_id=<APP_ID>" \
  -F "access_token=<ACCESS_TOKEN>" \
  "https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID>/apps"