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

[Bug Fix] remote_archive function asks for parent_id

Open MichaelKHTai opened this issue 2 years ago • 1 comments

Current Situation

If you run remote_archive as the doc stated, you will get the parent_id is not provided error. This is becuase remote_archive is using api_create instead of api_update function, so it is asking for the parent_id.

Expected Situation

The remote_archive could be run correctly without providing parent_id (though no matter what using api_create making quite no sense)

Notice

I know FB is deprecating sth and reinventing the code, so simply changing the function may not really fix the problem? If so, please find a better way to fix it, as it is breaking my workflow. Thx

MichaelKHTai avatar Nov 17 '21 11:11 MichaelKHTai

Hi @MichaelKHTai!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

facebook-github-bot avatar Nov 17 '21 11:11 facebook-github-bot