Facebook Setup
Get a never-expiring Page Access Token and Page ID so ArtDrop can post to your Facebook Page. Plan on 10 to 15 minutes. The long-lived token trick at the end is the whole reason you only do this once.
Get a never-expiring Page Access Token and Page ID so ArtDrop can post to your Facebook Page. Plan on 10 to 15 minutes. The long-lived token trick at the end is the whole reason you only do this once.
social_facebook_token, a non-expiring Page Access Tokensocial_facebook_page_id, the numeric Page ID (like 104829348271039)pages_manage_posts.You'll use the App ID and Secret in Step 5 to mint a long-lived token. Keep them handy.
pages_show_listpages_read_engagementpages_manage_postsWith the User Token selected, replace the Explorer's default query with:
GET me/accounts
Click Submit. You get back an array of Pages you admin. Each one has id, name, and access_token. Find the row for the Page you want ArtDrop to post to.
The access_token on this row is technically a Page Access Token, but it inherits the short-lived expiry from your User Token. The next step makes it permanent.
Open a new tab and paste this URL, filling in your APP_ID, APP_SECRET, and the short User token from Step 3:
https://graph.facebook.com/v23.0/oauth/access_token
?grant_type=fb_exchange_token
&client_id={APP_ID}
&client_secret={APP_SECRET}
&fb_exchange_token={SHORT_USER_TOKEN}
Response:
{ "access_token": "EAAG...long...", "token_type": "bearer", "expires_in": 5183944 }
Copy the new access_token. That's your long-lived User Token.
Back in the Graph API Explorer, paste the long-lived User Token into the token field and run GET me/accounts again.
This time, the access_token that comes back for each Page is a non-expiring Page Access Token. That's the one ArtDrop wants.
Copy two fields off the Page row:
id, your Page ID.access_token, your Page Access Token.This is the whole trick. A Page token derived from a short-lived User token expires in an hour. A Page token derived from a long-lived User token never expires (as long as you stay admin and don't change your Facebook password).
If you want to confirm the Page ID another way:
Or in Meta Business Suite: Settings, Page details.
Back in ArtDrop's Social page, Facebook section:
Hit Save. ArtDrop tests the token by calling /{page-id}?fields=id,name and will flag any mismatch immediately.
/me/accounts returns an empty array. Fix it in Business Settings, Pages, Add People.Meta moves buttons regularly. If anything doesn't match what you're seeing, email support@getartdrop.com with a screenshot of what's blocking you. We'll sort it same business day.
Official reference: Pages API docs, Access Tokens guide.