---
title: "How to Get a Facebook Access Token for WordPress? (Easy Method)"
url: https://theplusaddons.com/docs/get-a-facebook-access-token-for-wordpress/
date: 2024-06-25
modified: 2026-08-19
lang: en
author: "Aditya Sharma"
description: "The Social Feed widget in The Plus Addons for Elementor lets you display live Facebook feeds on Elementor pages. To connect your Facebook account, you need a valid Facebook access..."
image: https://theplusaddons.com/wp-content/uploads/2024/06/How-to-Add-Animated-Headings-In-Elementor-1-2-1024x554.jpg
word_count: 916
---

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

## 

- The Social Feed widget in The Plus Addons for Elementor displays live Facebook feeds on Elementor pages and needs a valid Facebook access token to connect a Facebook account.
- Facebook page access token generation in Facebook for Developers uses Graph API Explorer, the Meta App dropdown, and the permissions pages_read_user_content, pages_manage_metadata, and business_management.
- The page token starts as temporary and expires in about 2 hours, then the Access Token Debugger extends it to about 2 months after clicking Extend Access Token.
- Individual account access token generation selects app type Consumer and adds user_likes, user_videos, user_posts, and user_link, with public_profile included by default.

The Social Feed widget in [The Plus Addons for Elementor](https://theplusaddons.com/) lets you display live Facebook feeds on Elementor pages. To connect your Facebook account, you need a valid Facebook access token. This guide shows you how to generate one for a Facebook page or an individual account.

**Best Used For:**

- Business websites displaying live Facebook page feeds using The Plus Addons for Elementor

- Portfolio and agency sites embedding Facebook post feeds in the Elementor editor

- Developers connecting client Facebook accounts to the Social Feed widget in Elementor

## Generate Access Token for Page

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

1. Log in to your Facebook account and go to [Facebook for Developers](https://developers.facebook.com/).

2. If you do not have a developer account, click the **Get Started** button at the top. Skip to step 4 if you already have a developer account.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-1-3.png)

3. Register for a developer account and follow the steps to create your account.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-2-2.png)

4. Once done, you will get to the Apps page. Click the **Create App** button.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-3-2.png)

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

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-4-2.png)

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

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-5-2.png)

7. On the next screen, select your app type. Select **Business** and click **Next**.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-6-2.png)

8. Add an app name and email address. Optionally connect your business account. Click **Create App** when done. Facebook will ask for your password to authenticate.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-7-1.png)

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

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-8-1.png)

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

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-9-1.png)

11. 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. You will now see two permissions added in the **Permissions** tab.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-10.gif)

12. Add the "pages_read_user_content" permission in the **Add a Permission** field.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-11.gif)

13. Add the following permissions in the same way:

- pages_manage_metadata

- business_management

You should now have five permissions in the **Permissions** tab. Permissions shown in green are not yet included.

14. To include them, click 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. All permissions will now appear in black.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-12.gif)

15. From the **User or Page** dropdown, select your Facebook page and click the **Submit** button. Your Facebook page name and ID will now appear.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-13.gif)

16. Copy the page ID and save it in a text editor.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-14.png)

17. The access token generated at this point is temporary and will expire in about 2 hours. To extend it for 2 months, copy the access token and go to **Tools** > **Access Token Debugger** from the top menu.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-15.png)

18. Paste the access token in the text field under the **Access Token** tab and click the **Debug** button.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-16.png)

19. You will see details about your access token. Scroll down and click the **Extend Access Token** button.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-17.png)

20. Facebook will ask for your password to authenticate. Your extended access token will now appear and is valid for about 2 months. Copy and save it in a text editor. To embed your Facebook feed on a page, see [How to Add Live Facebook Feed in Elementor](https://theplusaddons.com/docs/add-live-facebook-feed-in-elementor/).

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-18.png)

**Note:** Once the access token expires, you have to generate a new access token to keep the Social Feed widget working.

## Generate Access Token for Individual Account

To generate an access token for an individual account, follow the process:

1. Log in to your Facebook account and go to [Facebook for Developers](https://developers.facebook.com/).

2. If you do not have a developer account, click the **Get Started** button at the top. Skip to step 4 if you already have a developer account.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-1-4.png)

3. Register for a developer account and follow the steps to create your account.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-2-3.png)

4. Once done, you will get to the Apps page. Click the **Create App** button.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-3-3.png)

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

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-4-1.png)

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

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-5-3.png)

7. On the next screen, select your app type. Select **Consumer** and click **Next**.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-i-1.png)

8. Add an app name and email address. Optionally connect your business account. Click **Create App** when done. Facebook will ask for your password to authenticate.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-i-2.png)

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

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-i-3.png)

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

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-i-4.png)

11. In the **Permissions** tab, add the "user_likes" permission in the **Add a Permission** field.

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-i-5.gif)

12. Add the following permissions in the same way:

- user_videos

- user_posts

- user_link

You should now have five permissions (including the default public_profile) in the **Permissions** tab. Permissions shown in green are not yet included.

13. To include them, click the **Generate Access Token** button. A popup will open. Continue with your Facebook account. All permissions will now appear in black and your access token will be ready. To display multiple social feeds in one Elementor widget, see [How to Create a Multi-Social Media Wall Feed in Elementor](https://theplusaddons.com/docs/create-a-multi-social-media-wall-feed-in-elementor/).

![](https://theplusaddons.com/wp-content/uploads/2024/06/facebook-app-id-secret-m-i-6.gif)

The access token generated here is temporary and will expire in about 2 hours. To [extend the access token](https://theplusaddons.com/docs/get-a-facebook-access-token-for-wordpress/#exted-token), follow steps 17 to 20 in the Generate Access Token for Page section above.

***Suggested Reading***: *[How to Add Live Instagram Feed in Elementor? (Personal & Business)](https://theplusaddons.com/docs/add-live-instagram-feed-in-elementor/)*