Skip to content

Introducing a comprehensive guide to efficiently automate the process of publishing posts on your Facebook page.

License

Notifications You must be signed in to change notification settings

yagnesh97/superaze-fb-graph

Repository files navigation

Publish a post on a Facebook page

Getting Started with Automate Facebook Post with Graph API

Introducing a comprehensive guide to efficiently automate the process of publishing posts on your Facebook page.

Prerequisites

Getting Started

Facebook Graph API

Create an access token for the Facebook Graph API that never expires.

Get your Page ID and Page name

  • Refer Graph Explorer to obtain your Page ID and Page name, which will be utilized in the environment.

Steps for generating an access token with no expiration date:

  1. Refer Pages API - Access Token to generate a Long-lived Page Access Token.
  2. Go to Access token debugger to see detailed info for an access token. Paste the Long-Lived Page Access Token and hit the Debug button.
  3. Copy the App-Scoped User ID.
  4. Paste App-Scoped User ID and Long-lived Page Access Token to the below endpoint and hit the same. https://graph.facebook.com/v17.0/{app_scoped_user_id}/accounts?access_token={long_lived_access_token}
  5. This will provide you with a JSON response containing an access_token that never expires.

Bing News Search API

Subscribe to Bing News Search API and generate an access token.

Azure Functions

Explore Azure Functions to set up your serverless computing service and obtain your Function URL, a HTTP endpoint for executing your code.

Deployment

Set Environment Variables

License

Distributed under the GNU License. See LICENSE for more information.

About

Introducing a comprehensive guide to efficiently automate the process of publishing posts on your Facebook page.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published