Getting started with the Instagram API

Step-by-step guide for posting to Instagram through the Post For Me API

Facebook & Instagram Integration Guide

This guide walks you through setting up a Facebook App and connecting it to Post For Me so users can publish to Facebook Pages and Instagram Business accounts. Feel free to contact us at postforme@daymoon.dev for any additional support!


1. Create a Facebook Developer App

  1. Click My Apps → Create App.
  1. Select Other as the use case.
  1. Choose Business as the app type.
  1. Give your app a name, email, and create it.

2. Configure Facebook Login

  1. In your app dashboard, go to Add ProductFacebook Login for Business.
  1. Under Settings → Client OAuth Settings, set:
  • Valid OAuth Redirect URIs to:
 https://app.postforme.dev/callback/<project_id>/facebook/account
 https://app.postforme.dev/callback/<project_id>/instagram/account
  • Replace <project_id> with your actual Post For Me project ID, or copy the full redirect URL from the Configure section of the Facebook/Instagram provider inside Post For Me.

3. Set App Domains and Policies

In Settings → Basic:

  • Add the App Domain: app.postforme.dev
  • Add a Privacy Policy URL, Terms of Service URL, and App Icon if you plan to go live.
  • Save changes.

4. Get App Credentials and Add to Post For Me

  1. From Settings → Basic, copy your:
  • App ID
  • App Secret
  1. In the Post For Me dashboard, go to:
  • Configure → Facebook, or
  • Configure → Instagram
  1. Paste the App ID and Secret into the appropriate fields.

You do not need to set the App Version—Post For Me handles this for you.


5. Connect Accounts and Test

For Instagram Testing:

  1. In your Facebook App Dashboard, go to Roles → Roles or Test Users.
  1. Add the Instagram Business account owner as a Test User.

To Connect an Account:

  1. In Post For Me, go to:
  • Project → Social Media Accounts → Connect an Account
  1. Choose Facebook or Instagram.
  1. Complete the Facebook login and permissions flow.
  1. Select the Facebook Page or Instagram Business account you want to connect.

While your app is in Development Mode, only test users or app roles (admin, developer, tester) can connect and post.


6. Move the App to Live Mode

Once testing is successful:

  1. Go to App Review → Permissions and Features in the Facebook Developer Dashboard.
  1. Request approval for the following permissions:
  • pages_manage_posts
  • pages_read_engagement
  • instagram_basic
  • instagram_content_publish
  1. After approval, switch the app to Live Mode.

Done!

Your app is now fully integrated with Facebook and Instagram. Users can connect their social accounts in Post For Me and begin scheduling or publishing content.