This guide outlines the process of creating a Facebook Access Token using our Facebook Access Token tool. This can be used if you have been asked to provide one for setting up a Facebook Feed on a website.
Would you like to connect your own or a client’s Facebook Page to your feed without creating an access token?
You do not need to create an access token to connect a Page or Group. The plugin gets one for you when you go to Facebook Feed » Settings and click Add Source in the Manage Sources area. This guide explains what an access token is and what to do instead of creating one by hand. It also covers four ways to connect a client’s Page and how Events feeds connect.
Before you get started, make sure Custom Facebook Feed is installed and activated on your site.
- What Is an Access Token?
- Getting a Facebook Access Token
- Connecting a Client’s Facebook Page
- Events Feeds and Your Own Facebook App
- Frequently Asked Questions
What Is an Access Token?
An access token is a long code that Facebook requires before it lets the plugin read the public content of a Page or Group. The plugin saves the token on your site after you connect a source.
The plugin only uses the token to see a list of your Pages and Groups and to get their public content. It does not give us permission to manage them.
Next, we’ll look at how to get a token without creating one by hand.
Getting a Facebook Access Token
You can no longer create a Facebook access token by hand for the plugin. A token generated by someone else also cannot be sent to a web developer to use.
Instead, connect the Page or Group with Add Source in Facebook Feed » Settings, and the plugin gets the token for you. For the full setup, see our setup guide.
Events feeds are the one exception, because they connect through your own Facebook App. We cover them in Events Feeds and Your Own Facebook App below.
Next, we’ll look at how to connect a Page for a client.
Connecting a Client’s Facebook Page
If you are setting up a feed for a client, there are four ways to connect their Page without a token.
- Your client gives you a role on the Facebook Page. Then, connect the Page in the plugin with your own Facebook profile.
- If your client is an Administrator on the WordPress site, they can go to Facebook Feed » Settings in the WordPress dashboard. Then, they click Add Source in the Manage Sources area to connect their account.
- If your client is an Editor, follow our guide on allowing editors access to the Facebook plugin settings. They can then connect their Page from Facebook Feed » Settings.
- If your client has no access to the WordPress dashboard, start a screen-sharing session. Next, open Facebook Feed » Settings in the WordPress dashboard on your computer and give your client control. They then log in with their Facebook account while they connect the Page. You can do this in a private or incognito window. That way, the connection does not use a Facebook session that was already logged in. Your client’s session is also not saved in your browser.
Events feeds connect differently, so we’ll look at them next.
Events Feeds and Your Own Facebook App
Facebook restricts access to events. Because of that, Events feeds connect through your own Facebook App instead of the usual one-click connection. This requires the Elite license level.
When you add a source for an Events feed, the plugin asks for an App ID, an App Secret, and a User Access Token from your own app. For how to create the app and get those values, follow our guide on creating a Facebook events access token.
That’s it! You now know what an access token is, how the plugin gets one for you, and how to connect a client’s Page. Next, see our guide on allowing editors access to the Facebook plugin settings.
Frequently Asked Questions
Below, we’ve answered some of the most common questions about access tokens.
Do I need an access token for a normal feed?
No. When you connect a source with Add Source, the plugin gets the token for you and saves it. Only Events feeds need values from your own Facebook App.
How do I check which Facebook Page a token belongs to?
You can paste the token into Meta’s Access Token Debugger. It shows which Page the token is for. To display a different Page in your feed, connect it with Add Source in Facebook Feed » Settings.
Do I need to create an Events access token to use the plugin?
Only for Events feeds. For other feeds, connect a source with Add Source. See Events Feeds and Your Own Facebook App above.