Skip to content

Latest commit

 

History

History
89 lines (50 loc) · 3.84 KB

meta.md

File metadata and controls

89 lines (50 loc) · 3.84 KB

Meta API Setup

<= Back

App Creation

create app

  • Select "I don't want to connect a business portfolio yet" and click "Next"

app setup 1

  • Select "Other" and click "Next"

app setup 2

  • Select "Business" and click "Next"

app setup 3

  • Give your app a name, add a public contact email and click "Create App"

app setup 4

Login Functionality

  • Scroll to the bottom of the page where you will find "Facebook Login for Business", click "Set up"

login setup 1

  • Scroll down until you find "Valid OAuth Redirect URIs". Here you will want to put https://localhost/callback/facebook replacing "localhost" with your domain. Next, click "Save changes"

login setup 2

Configuration for Posting to Facebook Pages

  • In the bottom left under "Facebook Login for Business", click "Configurations". Next, click "Create configuration"

page setup 1

  • Give your configuration a name. I would suggest using the name "pages" or similar, as this configuration will be used for facebook page posting

page setup 2

  • For the login variation, choose "General" and click "Next"

page setup 3

  • For access token choose "User access token" and click "Next"

page setup 4

  • You will need to give the app the following 5 permissions in order for OpenSMM to function properly:

      - pages_manage_engagement
      - pages_manage_posts
      - pages_read_engagement
      - pages_show_list
      - publish_video
    

    Finish by clicking "Create"

page setup 5 page setup 6

  • You will now be shown your configuration ID. Copy this ID to your .env file then click "Got it"

page setup 7

General API Settings

  • On the left under "App settings" click "Basic". From here you will need to copy your "App ID" and "App Secret" to your .env file as well

API setup 1

  • On the left under "App settings click "Advanced". We want to ensure that our API version is upgraded to "v20.0"

API setup 2

That's it for now. You can now use all of the Facebook features in OpenSMM!

<= Back