How to Get a Facebook Access Token for WordPress? (Easy Method)

Key Takeaways

  • Facebook for Developers requires users to log in to generate an access token.
  • Users must add five specific permissions, including pages_read_user_content and business_management, to generate a page access token.
  • The generated access token is temporary and expires in about 2 hours unless extended.
  • To extend the access token for 2 months, users must use the Access Token Debugger tool.
Table Of Content

Generate Access Token for Page

To generate an access token for a Facebook page follow the process – 

1. You have to log in to your Facebook account and then go to Facebook for Developers.

2. If you don’t have a developer account, click the Get Started button at the top. Skip to step 4 if you have a developer account. 

Facebook app id secret 1 3 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

3. Then you have to register for a developer account, and follow the steps to create your account.

Facebook app id secret 2 2 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

4. Once done, you’ll get to the Apps page, click on the Create App button. 

Facebook app id secret 3 2 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

5. On the next page, select the business profile you want to link with the app and click Next

Facebook app id secret 4 2 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

6. On the next page select Other and click Next.

Facebook app id secret m 5 2 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

7. On the next screen, you have to select your app type, select Business and click Next.

Facebook app id secret m 6 2 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

8. Then add an app name, email id and optionally connect your business account. Once done click on the Create App button, it will ask for your password to authenticate.

Facebook app id secret m 7 1 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

9. On the next page, from the top menu go to Tools > Graph API Explorer.

Facebook app id secret m 8 1 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

10. On the next page, select your app from the Meta App dropdown.

Facebook app id secret m 9 1 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

11. Then from the User or Page dropdown select Get Page Access Token. A popup will open, continue with your Facebook account, then select your Facebook page and follow the steps to complete the process. Now you’ll see two permissions added in the Permissions tab.

Facebook app id secret m 10 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

12. Then add “pages_read_user_content” permission in the Add a Permission field.

Facebook app id secret m 11 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

13. Similarly add the following permissions – 

  • pages_manage_metadata
  • business_management

Now you should have five permissions in the Permissions tab. All the permissions in green color are not included yet.

14. To include them click on the Generate Access Token button, a popup will open, continue with your Facebook account, then select your associated business profile and Facebook page and follow the steps to complete the process. Now you’ll see all permissions in black color.

Facebook app id secret m 12 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

15. Then from the User or Page dropdown select your Facebook page and then click on the Submit button. Now you’ll see your Facebook page name and ID.

Facebook app id secret m 13 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

16. Now copy and save the page ID in a notepad.

Facebook app id secret m 14 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

17. Now the generated token key is a temporary one (will expire in about 2 hours from generation), to extend it for 2 months, copy the access token and from the top menu go to Tool > Access token debugger.

Facebook app id secret m 15 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

18. On the next page paste the access token in the text field under the Access Token tab and click on the Debug button.

Facebook app id secret m 16 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

19. You’ll see details related to your access token, scroll down the page and click on the Extend Access Token button.

Facebook app id secret m 17 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

20. It will ask for your password to authenticate. Now you’ll see your extended access token, which will last for about 2 months. Copy and save the new access token in a notepad.

Facebook app id secret m 18 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

Note: Once the access token expires you have to generate a new access token to keep the app working.

Generate Access Token for Individual Account

To generate an access token for an individual account follow the process – 

1. You have to log in to your Facebook account and then go to Facebook for Developers.

2. If you don’t have a developer account, click the Get Started button at the top. Skip to step 4 if you have a developer account. 

Facebook app id secret 1 4 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

3. Then you have to register for a developer account, and follow the steps to create your account.

Facebook app id secret 2 3 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

4. Once done, you’ll get to the Apps page, click on the Create App button. 

Facebook app id secret 3 3 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

5. On the next page, select the business profile you want to link with the app and click Next

Facebook app id secret m 4 1 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

6. On the next page select Other and click Next.

Facebook app id secret m 5 3 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

7. On the next screen, you have to select your app type, select Consumer and click Next.

Facebook app id secret m i 1 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

8. Then add an app name, email id and optionally connect your business account. Once done click on the Create App button, it will ask for your password to authenticate.

Facebook app id secret m i 2 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

9. On the next page, from the top menu go to Tools > Graph API Explorer.

Facebook app id secret m i 3 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

10. On the next page, select your app from the Meta App dropdown.

Facebook app id secret m i 4 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

11. Then in the Permissions tab add “user_likes” permission in the Add a Permission field.

Facebook app id secret m i 5 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

12. Similarly add the following permissions – 

  • user_videos
  • user_posts
  • user_link

Now you should have five permissions (including default public_profile) in the Permissions tab. All the permissions in green color are not included yet.

13. To include them click on the Generate Access Token button, and a popup will open, continue with your Facebook account. Now you’ll see all permissions in black color and you have your access token.

Facebook app id secret m i 6 how to get a facebook access token for wordpress? (easy method) from the plus addons for elementor

The access token generated here is a temporary one (will expire in about 2 hours) to extend the access token, follow steps 17-20 mentioned in the Facebook access token page document.

About the Author

Photo of Aditya Sharma CMO of The Plus Addons for Elementor
CMO · The Plus Addons for Elementor · 10 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordPressElementorn8nAIClaudeAutomationServer
Get Instant Answers to all your questions about The Plus Addons for Elementor, trained on 1000+ Docs and Videos

Related Frequently Asked Questions

What should I do if I can't log in to Facebook for Developers?

If you can't log in to Facebook for Developers, ensure that you have a valid Facebook account. If you donu2019t have a developer account, you need to click the 'Get Started' button on the site to register. Without a developer account, you won't be able to create an app necessary for generating an access token.

How do I extend the expiration of my Facebook access token?

To extend the expiration of your Facebook access token, first generate a temporary token that lasts about 2 hours. Then, navigate to Tools > Access Token Debugger, paste your token, and click the Debug button. Scroll down and click on the 'Extend Access Token' button to get a token that lasts approximately 2 months. This is crucial for maintaining continuous access to your Facebook page without interruption.

Can I use the access token for The Plus Addons for Elementor?

Yes, you can use the Facebook access token generated through this process with The Plus Addons for Elementor, especially if you plan to integrate features like social feeds or other Facebook-related functionalities. This allows you to leverage Facebook's capabilities directly within your Elementor-built WordPress site.

What permissions do I need to generate a Page access token?

To generate a Page access token, you must include specific permissions such as 'pages_read_user_content', 'pages_manage_metadata', and 'business_management'. These permissions ensure that your app has the necessary access to manage and read content from your Facebook page. Not including them may lead to insufficient access for your app's functions.

What happens if I forget to save my generated access token?

If you forget to save your generated access token, you will lose access to the functionalities that require it once it expires, which is typically within 2 hours. You will need to repeat the process of generating a new access token, which can be time-consuming if you are not prepared. Always make sure to copy and store the token securely after generation.

Are there any common mistakes when generating an individual account access token?

A common mistake when generating an individual account access token is neglecting to add all necessary permissions. Ensure that you include permissions like 'user_likes', 'user_videos', and 'user_posts' in addition to the default 'public_profile'. Missing these can result in a token that does not grant the required access for your app's intended functions.

Last reviewed: April 9, 2026