How To Find My Facebook Access Token And Page Id 2021
PAGE ID
- Open your Facebook page which you want to use for business automation
- Click
About
, it maybe inside More
tab
- At the bottom of About page you'll find
Page ID
under MORE INFO
section
ACCESS TOKEN
- Visit Facebook Developers
- Click on
My Apps
, you may need to login with your Facebook account
- Tap on
Create App
button
- Under
Select an app type
section select Business
, click on Next
- Enter a name inside
Display Name
, it maybe any name you want, and mostly visible only to the admin of the page. Enter email address into App Contact Email
. Select any of the provided option under App Purpose
that best fit your situation. And lastly under Business Manager account
you can leave it No Business Manager Account selected or select an account if you have one
- Click on
Create App
button
- Under
Tools
click on Graph API Explorer
- Inside
Facebook App
select your newly created App, if it's not selected already
- Mostly every time you change or select something in Graph API Explorer, Facebook may pop up a window to confirm your changes, which may include few pages to go through, you have to select your Facebook page in which you want the changes to occur then permissions you want to give etc. Mostly you just have to click on Next or Continue or maybe select your Facebook page in when the popup window will ask you to do so, and it's better to read permission carefully but don't untick any of them unless you do your own research.
- Under
User or Page
select Get Page Access Token
- From
Add a Permission
select these three permission:
- pages_show_list
- pages_read_engagement
- pages_manage_posts
- Tap on
Generate Access Token
and copy the access token
- Under
Tools > Access Token Debugger > Access Token
paste the copied token and click on Debug
- Click on
Extend Access Token
- Copy the new
long-lived access token
, this is the actual access token you need for the automation of your Facebook page or Facebook Business page.