- Go to https://developers.facebook.com/apps/ and click "Create App"
- Select "I don't want to connect a business portfolio yet" and click "Next"
- Select "Other" and click "Next"
- Select "Business" and click "Next"
- Give your app a name, add a public contact email and click "Create App"
- Scroll to the bottom of the page where you will find "Facebook Login for Business", click "Set up"
- 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"
- In the bottom left under "Facebook Login for Business", click "Configurations". Next, click "Create configuration"
- Give your configuration a name. I would suggest using the name "pages" or similar, as this configuration will be used for facebook page posting
- For the login variation, choose "General" and click "Next"
- For access token choose "User access token" and click "Next"
-
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"
- You will now be shown your configuration ID. Copy this ID to your .env file then click "Got it"
- 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
- On the left under "App settings click "Advanced". We want to ensure that our API version is upgraded to "v20.0"
That's it for now. You can now use all of the Facebook features in OpenSMM!