A Postman collection is a set of saved HTTP requests used to learn how to use a specific API. It encloses all the possible calls to an API that can be done, as well as the parameters or headers needed to successfully use it. They encapsulate those resources in a tidy way to save, reuse and share with others. Using them allows developers to quickly onboard and understand the way an API works by generating documented requests with examples. To use the Facebook Reels Publishing API Postman Collection, all that is needed is Postman on web or app and the JSON file containing the requests. This collection allows developers to upload and publish a Reel into a Facebook page from a local file or CDN.
- Postman Web/Postman Application
- Facebook Reels Publishing API Postman Collection JSON file
- Knowledge in HTTP Requests
- A video (hosted or local) with a 9:16 aspect ratio and maximum 60s long
- A Page Access Token
- Open Postman on web or desktop
- Click on Environments
- Create a new environment or edit an existing one
- Add a Variable named access_token
- Paste your Page Access Token into the initial value cell
- Click on Save
- Select your environment under the drop-down list in the top right corner
- Click on Import on the My Workspace header on the left side
- Upload the JSON Collection file
- Click on the orange import button
- Click on Collections on the left sidebar and expand the Facebook Reels Publishing API section
- Send request #1, Create Reel.
- Upload your Reel either locally or hosted
- Local Upload: Open request #2.A.
- Switch to the Headers tab of the request.
- Enter the file size in bytes of your video on the value field of the file_size header.
- Switch to the Body tab of the request.
- Select binary and select your file.
- Send the request
- Host Upload: Open request #2.B
- Switch to the Headers tab of the request.
- Enter the hosted file URL on the file_url header value field.
- Send the request
- Local Upload: Open request #2.A.
- (Optional) Track the status of your upload, request and processing using the request #3 only by clicking send.
- Publish the reel with request #4. You may edit the description, title and video_state parameters to your needs.
- Done! You now have a published Reel into your page.
Please refer to the LICENSE file.