Giter Site home page Giter Site logo

facebook-reels-publishing-api-postman-collection's Introduction

Facebook Reels Publishing API - Postman Collection

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.

Requirements

  • 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

Installation and usage

  1. Open Postman on web or desktop
  2. Click on Environments
  3. Create a new environment or edit an existing one
  4. Add a Variable named access_token
  5. Paste your Page Access Token into the initial value cell
  6. Click on Save
  7. Select your environment under the drop-down list in the top right corner
  8. Click on Import on the My Workspace header on the left side
  9. Upload the JSON Collection file
  10. Click on the orange import button
  11. Click on Collections on the left sidebar and expand the Facebook Reels Publishing API section
  12. Send request #1, Create Reel.
  13. Upload your Reel either locally or hosted
    • Local Upload: Open request #2.A.
      1. Switch to the Headers tab of the request.
      2. Enter the file size in bytes of your video on the value field of the file_size header.
      3. Switch to the Body tab of the request.
      4. Select binary and select your file.
      5. Send the request
    • Host Upload: Open request #2.B
      1. Switch to the Headers tab of the request.
      2. Enter the hosted file URL on the file_url header value field.
      3. Send the request
  14. (Optional) Track the status of your upload, request and processing using the request #3 only by clicking send.
  15. Publish the reel with request #4. You may edit the description, title and video_state parameters to your needs.
  16. Done! You now have a published Reel into your page.

License

Please refer to the LICENSE file.

facebook-reels-publishing-api-postman-collection's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.