Connecting Your Platforms to PostHub
This guide walks you through getting the credentials PostHub needs to publish to your Facebook Page, Instagram Business account, Telegram channel, and YouTube channel — using your own accounts. PostHub never creates or manages these accounts for you; you generate these credentials yourself and paste them into the Connect Platforms panel in your dashboard.
None of these credentials are shown back to you once saved — if you need to change one later, just generate a new one and paste it in again.
You'll need two things: a Page Access Token and your Page ID.
Find your Page ID
-
01
Go to your Facebook Page.
-
02
Click About in the left menu.
-
03
Scroll down to Page transparency — your Page ID is listed there. (Or: Page Settings → Page Info.)
Get a Page Access Token
-
01
Go to Meta for Developers → Graph API Explorer (developers.facebook.com/tools/explorer/).
-
02
Select or create an app under your Meta Business account.
-
03
In Graph API Explorer, select your app, then select your Page from the "User or Page" dropdown.
-
04
Add the permissions: pages_manage_posts, pages_read_engagement.
-
05
Click Generate Access Token, and approve the permissions.
-
06
Copy the token shown — this is your Page Access Token.
Note: Tokens generated this way are short-lived (about an hour) by default. Ask us if you need help generating a long-lived Page token (60 days, and renewable) — this is the one you'll actually want for PostHub so you're not reconnecting constantly.
You'll need an Access Token and your IG Business Account ID.
Prerequisite: Your Instagram account must be a Business or Creator account, and linked to a Facebook Page.
Find your IG Business Account ID
-
01
Go to Meta for Developers → Graph API Explorer.
-
02
Select your app and your linked Facebook Page.
-
03
In the query field, enter: me/accounts and submit — find your Page, note its ID.
-
04
Then query: {page-id}?fields=instagram_business_account — this returns your IG Business Account ID.
Access Token
Instagram publishing uses the same Page-linked access token as Facebook — generate it the same way as above, adding the permission instagram_content_publish.
Telegram
You'll need a Bot Token and your Channel ID.
Create a Bot
-
01
Open Telegram and search for @BotFather.
-
02
Send /newbot and follow the prompts (choose a name and username for your bot).
-
03
BotFather will give you a Bot Token — copy it.
Add the bot to your channel
-
01
Go to your Telegram channel → Administrators → Add Admin.
-
02
Add your bot as an admin, with permission to post messages.
Find your Channel ID
- If your channel has a public username, use @yourchannelname directly as the Channel ID.
- If it's private, forward a message from the channel to @userinfobot or @RawDataBot to get the numeric channel ID (it'll look like -1001234567890).
YouTube
You'll need an OAuth Refresh Token.
This one's more involved since it requires Google OAuth consent. We generate the app credentials (Client ID/Secret) on our side — you just need to complete the consent flow once.
-
01
We'll send you a one-time authorization link.
-
02
Sign in with the Google account that manages your YouTube channel and approve access.
-
03
We'll retrieve the resulting refresh token and can either enter it for you or send it to you to paste into the dashboard yourself.
If you'd rather do this fully yourself, let us know and we'll walk you through generating your own Client ID/Secret pair in Google Cloud Console instead — most clients find it easier to let us handle this one step together.
Once you've connected a platform
-
01
Paste the credential(s) into the matching row in Connect Platforms on your dashboard.
-
02
Click Save. You'll see a confirmation once it's stored.
-
03
The platform's badge will show Connected.
-
04
You can now select that platform when queuing a new post.
If a publish attempt fails with an error mentioning your token, it usually means the token expired or was revoked — just generate a fresh one and reconnect.
Questions?
Reach out to us directly and we'll help you get connected.