facebook-python-business-sdk icon indicating copy to clipboard operation
facebook-python-business-sdk copied to clipboard

Move create_user_permission to AdAccount

Open olasfar opened this issue 7 years ago • 4 comments

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"

olasfar avatar Sep 19 '16 16:09 olasfar

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!

ghost avatar Sep 19 '16 16:09 ghost

cc @daphyFB :)

m-vdb avatar Sep 19 '16 16:09 m-vdb

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

ghost avatar Sep 19 '16 17:09 ghost

@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!

olasfar avatar Mar 22 '17 16:03 olasfar