← Back to Auto Publish

How to connect Facebook to Idea2Post AI

There are two ways to connect a Facebook Page: Easy mode (paste one access token โ€” we auto-list your Pages and save everything) and Manual mode (you paste the Page ID and Page token yourself). Both work fine โ€” pick whichever you prefer.

๐Ÿ‘‰ Good news if you already run trustedweb.site

Facebook Page tokens are per Page, but a single Facebook user account can manage many Pages. Because the same admin runs both trustedweb.site and linhkhi.vn, you only need the app credentials (App ID + App Secret) once โ€” Idea2Post can pre-fill them from the existing trustedweb plugin and give you a separate Page token for linhkhi.vn automatically. Just click "Use trustedweb app credentials" on the Auto Publish page.

๐ŸŸข Easy mode โ€” auto-list your Pages (recommended)

1

Open Facebook Graph API Explorer

Go to developers.facebook.com/tools/explorer. Log in with the Facebook account that manages the Page you want to connect (e.g. linhkhi.vn admin).

2

Pick your app + scopes

In the top-right dropdown, select the Facebook app you own (or create a fresh one at My Apps โ†’ Create App โ†’ Business type).

Click "Add permissions" and add all of these:

  • pages_show_list โ€” see the Pages you manage
  • pages_read_engagement
  • pages_manage_posts โ€” post on your Pages
  • pages_manage_metadata
  • public_profile
3

Generate a User access token

Click "Generate Access Token". A Facebook login popup appears โ€” allow the permissions. The token that fills the box is a short-lived User access token (valid ~1 hour). Copy it.

โš ๏ธ Copy the User access token, not the App token. User tokens start with something like EAA....
4

Find your App ID and App Secret

Go to My Apps โ†’ (your app) โ†’ Settings โ†’ Basic. Copy the App ID and click Show next to App Secret and copy that too. You'll paste both into Idea2Post.

5

Paste into Idea2Post

In Auto Publish, under the "Easy mode" form:

  • App ID โ†’ your App ID
  • App Secret โ†’ your App Secret
  • User access token โ†’ the EAA... token you just copied

Click Load my Pages. Idea2Post will:

  • Exchange the short-lived user token for a long-lived one (~60 days).
  • Call GET /me/accounts to list every Page you manage.
  • For each Page, Facebook returns a permanent Page access token that never expires.
6

Pick the Page and save

Select the Page you want (linhkhi.vn) from the dropdown and click Save Page. Done โ€” Idea2Post stores the Page ID + permanent Page token and you can schedule posts.

๐Ÿ”ต Manual mode โ€” paste Page ID + Page token

Use this if you already have a Page access token or if Easy mode fails for any reason.

1

Find your Page ID

Open the Page in Facebook โ†’ About tab โ†’ scroll to "Page transparency" โ†’ "Page ID" is the numeric ID. Or use lookup-id.com.

2

Generate a Page access token

In Graph Explorer, after you got a user token with the scopes above, run the query:

me/accounts?fields=id,name,access_token

The response JSON has every Page you manage with an access_token field. That's your Page access token. Copy it.

3

Paste into Idea2Post

In the "Manual connect" form, fill:

  • Platform โ†’ Facebook Page
  • Label โ†’ any name, e.g. linhkhi.vn
  • Page ID โ†’ the numeric Page ID
  • Token โ†’ the EAA... Page access token

Click Connect, then click ๐Ÿ” Verify token. If you see the Page name flash up, you're done.

๐Ÿงช How to test without posting anything visible

After connecting, the "Connected accounts" section shows a ๐Ÿงช Admin test post panel (admin only). Type any message and click Send test post now. Idea2Post calls the Graph API synchronously and either:

If you want to test without anyone seeing the post, post a very short "test" message and delete it from the FB Page immediately.

โฑ Why scheduling has ยฑ30 minute jitter

Facebook's abuse detection flags Pages that post at the exact same clock time every day (e.g. 08:00 sharp). Idea2Post automatically adds a random ยฑ30 minute offset to every scheduled post so your posting pattern looks organic. You'll see the jittered time confirmed on screen when you schedule.

โ“ Troubleshooting

Error: "OAuthException 190 โ€” session expired"

Your Page token was short-lived and expired. Re-run Easy mode to mint a new permanent Page token.

Error: "200 โ€” The user hasn't authorized the application"

The app doesn't have pages_manage_posts scope. Re-generate the user token with that scope added.

Error: "(#100) Missing or invalid image URL"

You attached an image URL that Facebook couldn't fetch. Leave the image field empty or host the image on a publicly reachable URL.


Still stuck? Open a ticket at helpdesk.mycoach.ing.

โ† Back to Auto Publish