How to Setup a Facebook API and Identity for Stitchz

Stitchz allows a Facebook Page Manager to share and manage posts on their Page. This means that in order to share on Facebook via Stitchz you must request a developer API key/secret and the appropriate permissions (scope). Follow the steps below to request an API key/secret and submit for review.

  1. Login Facebook with the account you plan to share posts.
  2. Go to the developers portal, click "My Apps", then click Create App. You'll be asked "What do you want your app to do?", select "Other" at the bottom, then click Next.

    developer portal app creation choices
    Figure 1

    On the next screen, select "Business" as the app type and then click Next.

    developer portal app creation choices
    Figure 2

    Enter your application name, contact email address, and select your Business Account. If you don’t have a business account yet, you can create one at a later step.

    app creation form with details
    Figure 3

Depending on your account and application type, you must choose between Facebook Login and Facebook Login for Business. Based on your choice, follow the steps in the respective tab below.


  1. Add the Facebook Login product to your new app by clicking on Set Up. Walk through the guided setup and answer all questions.

    select a Facebook product to add to your app
    Facebook Login Set Up - Figure 4

    select a platform where Facebook login will reside
    App platform - Figure 5

  2. On the Web settings page, add the Stitchz.net domain to your App Domains, then click Save, then click Continue. (Figure 6)

    complete the product details by entering your site url and answer all questions
    Web settings - Figure 6

  3. Add the Stitchz OAuth2 Redirect URL (Figure 7) - https://api.stitchz.net/oauth2/authenticated

    add the Stitchz.net OAuth2 callback URL
    Valid OAuth Redirect URL - Figure 7

  4. Go to Settings > Basic and add the Stitchz.net domain to your App Domains (Figure 8).

    add the stitchz.net domain to the new Facebook Apps App Domain
    App Domains - Figure 8

  5. Go to App Review > Permissions and Features (Figure 9). Scroll through the list of available permissions and select Request Advanced Access on the following permissions:
    • pages_show_list
    • pages_manage_posts
    • pages_read_engagement
    • Page Public Metadata Access

    app Review Permissions and Features selection... add the proper permissions as listed here
    Advanced Permissions - Figure 9

  6. Go to App Review > Requests and submit app for review (Figure 10).

    submit your new app for review by Facebook
    Request for App Review - Figure 10

  7. The App approval process can take up to 5 business days to complete. Make sure to work closely with the Facebook review team to complete the review as quickly as possible.
  8. After your app has been approved, copy the new Facebook App ID and App Secret from your Facebook App Dashboard into your Stitchz application.

  1. Add the Facebook Login for Business product to your new app by clicking on "Add Product". Then select "Set up" on the Facebook Login for Business tile.
  2. Add the Stitchz OAuth2 Redirect URL (Figure 6) - https://api.stitchz.net/oauth2/authenticated
  3. Go to App Settings > Basic and add Stitchz.net domain to your App Domains (Figure 4).

    add the stitchz.net domain to the new Facebook Apps App Domain
    Basic App Settings - Figure 4

  4. Under Facebook Login for Business, go to "Configurations".
  5. Click "Create Configuration" (Figure 5).

    add the stitchz.net domain to the new Facebook Apps App Domain
    Configuration creation workflow - Figure 5

  6. Enter a name of your configuration (Figure 6).

    add the stitchz.net domain to the new Facebook Apps App Domain
    Configuration Name - Figure 6

  7. Select the type of access token required for your application. Currently, Stitchz.net supports User Access Tokens (UATs). UATs are associated with your app user’s personal account and is a short-lived token for online activities (Figure 7).

    add the stitchz.net domain to the new Facebook Apps App Domain
    Choose Access Token - Figure 7

  8. Finally, choose the proper permissions. The following 7 minimum permissions are required:
    • business_management
    • email
    • pages_manage_engagement
    • pages_manage_posts
    • pages_read_engagement
    • pages_read_user_content
    • pages_show_list

    add the stitchz.net domain to the new Facebook Apps App Domain
    Access Token Permissions - Figure 8

  9. Click "Create"
  10. Copy the "Configuration ID" displayed for use later.
  11. The final configuration should look similar to the below screenshot (Figure 9).

    add the stitchz.net domain to the new Facebook Apps App Domain
    Facebook Configuration Settings - Figure 9

  1. Go to Apps > Settings, then click the shield in the Identity Providers section to add a new provider (Figure 11). In the form that appears, select Facebook and paste your App Id and App Secret, followed by ticking the appropriate scopes/permissions in the Provider Scope section, then click Save.

    complete the provider form with the app key and secret
    Setup Facebook Provider in Stitchz.net - Figure 11

  2. In your Stitchz.net account, from the application Settings page, click the social group name. Then, click the green Add Identity button to add your Facebook Identity (the account responsible for managing the Page). On the modal window click Facebook to begin the process to add your Facebook Identity to Stitchz (Figure 12).

    add Facebook account as an Identity to share posts with
    Stitchz Add Identity - Figure 12

  3. Follow the prompts on Facebook’s site to complete the request (Figure 13-15).

    the first step of the Facebook IdP process
    Facebook Account Connectivity - Figure 13

    select a page to grant permissions to share posts with
    Facebook Page Selection - Figure 14

    grant specific permissions to use with Stitchz
    Facebook Confirmation - Figure 15

  4. After the Identity has been added, click the Identity's Pages button to load the list of available pages the Identity has management access to. Click Add Identity to add the Page. (Figure 16)

    search and select the Facebook Page to add to Stitchz
    Figure 16

  5. Setup is complete, you can begin sharing posts on the Facebook Page from Stitchz.