facebook-python-business-sdk
facebook-python-business-sdk copied to clipboard
Move create_user_permission to AdAccount
Hi there,
Regarding the Facebook documentation https://developers.facebook.com/docs/marketing-api/businessmanager/systemuser/v2.7 create_user_permission
should be done on act_<AD_ACCOUNT_ID>
node:
curl \
-F "user=<APP_SCOPED_SYSTEM_USER_ID>" \
-F "role=ADMIN" \
-F "business=<BUSINESS_ID>" \
-F "access_token=<ACCESS_TOKEN>" \
"https://graph.facebook.com/<API_VERSION>/act_<AD_ACCOUNT_ID>/userpermissions"
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!
cc @daphyFB :)
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!
@daphyFB when do you guys will have time to review my code ? Please let me know what do you think about this pull request. Thx!