By definition, a token is a unique identifier that is used to authenticate access to an API. You can think of it as a virtual passkey between Agorapulse and your social networks. In order to establish and maintain the permissions required to manage your social profiles in Agorapulse, we need to ensure there is always a valid token associated to each profile.
In this article, we will outline:
How long are tokens valid?
Tokens can become invalid or expire for reasons such as a password change on the relevant social network, a change in your role on a social profile, or an automatic expiration triggered by the social networks.
The token validity period for each social network is outlined below:
YouTube - 30 days
Threads - 2 months
Facebook - 3 months
Instagram - 3 months
Google Business - 6 months
LinkedIn - 1 year
Pinterest - 1 year
Threads - 2 months
TikTok - 1 year
X/Twitter - No automatic expiry
How to view all tokens
You can find a list of all tokens associated to your account in the Social profiles & tokens section of the Organization settings. To access these settings:
Click on your avatar on the bottom-left of the screen
Click on Organization settings or the Workspace settings (If Workspaces are enabled)
Select the Social profiles & tokens sub-menu
Note: Only organization Owners and Managers can access these settings. Members who have been given access to Manage social profiles and Admin permissions on a social profile may also access these settings.
How to check the status of a token
You can quickly identify the status of each token by using the status filter. You can filter by the following statuses:
Expired includes all invalid tokens
Expiring within 7 days includes all tokens that will expire within 7 days
Valid includes all valid tokens more than 7 days from expiry
No expiration date
Please Note: Expired tokens will be highlighted in red, tokens expiring within 7 days will be highlighted yellow (with the number of days left until the token expires) and valid tokens will be highlighted green.
How to renew a token
From the Social profiles & tokens section:
Filter for a specific social network (optional)
Click on the Renew option next to the relevant social profile
orClick the Try renewing all option to renew all tokens for a specific social network
You will be re-directed to the relevant social network (to confirm your permissions)
You will be required to log in natively if you do not already have the account open
If your token has been refreshed successfully, the token indicator should be highlighted in green. If the token indicator is still showing as red or yellow, the token has not been updated successfully.
Please Note: If your token fails to renew, it is possible that you do not have sufficient permissions natively in the social network to renew the token. Find out more information about who can renew tokens in the next section.
Who can renew a token?
Users require Owner or Manager level permissions in order to renew tokens in Agorapulse. Members who have been given access to Manage social profiles and Admin permissions on a specific profile may also renew tokens.
In addition to Agorapulse permissions, native permissions in the relevant social network are also required to renew a token. To assist with finding a user within your organization that has the relevant native permissions required to renew a token, you may view the See all managers pop-up. From the Social profiles & tokens section:
Click on the three dot menu next to the chosen social profile
Select See all managers
This will provide a list of managers within your organization. There will be three different options under the Can renew tokens heading:
✓ - This user can renew the token natively
X - This user does not have sufficient permissions to renew the token
? - This user held a token previously, but their current permissions are unknown
What native permissions are required to renew a token?
The permissions required to renew a token vary depending on the relevant social network. We have outlined the permissions per network below:
Instagram: Full control on the Facebook Page or Business Manager to the linked Facebook page
LinkedIn (Company): Super Admin level permissions on the company page
LinkedIn (Personal): Access to the LinkedIn personal account
TikTok: Access to the TikTok account
YouTube: Access to Google account or Manager role (if using a brand account)
Pinterest: Access to the Pinterest account
Threads: Access to the Threads account
X (Twitter): Access to the X account
Google Business: Any role on the Google Business account
How to manage token expiry notifications
Agorapulse can notify you about tokens that require renewal through several configurable notification methods. You will receive notifications 7 days, 3 days and 1 day before the token expiration date. You will also receive a notification when the token expires. These methods include:
In-app notifications
Email notifications
Mobile notifications
Warning upon login
You are able to configure notifications for token expiry in your Personal settings. In order to access these settings:
Click on your avatar on the bottom-left of the screen
Select Personal settings
Click on the Notifications sub-menu
Scroll down to the Token expiration section
You may also access these settings from the Social profiles & tokens section:
Click on the three dot menu next to the chosen social profile
Select Manage notifications
You will be redirected to the Notifications sub-menu of the Personal settings
Once you are on the Notifications menu, you may navigate to the Token expiration section and complete the following actions:
Enable or disable mobile and email token expiry notifications
In-app notifications are automatically enabled for all usersApply notifications settings for all profiles or customize notifications per profile
You can expand the options by selecting Set by profileEnable the Show me tokens at risk every time I log in to Agorapulse
This will trigger a pop-up upon log in advising you that your tokens are expired or close to expiring
In-app Notification Example
When clicking on an in-app token expiry notification, you will be taken to the Social profile & tokens settings, where you can follow these steps to renew the token. Keep in mind, you will still need the correct permissions to renew the token.
Login Warning Example
This will only appear for Admins on the relevant social profiles that are at risk. You may renew your tokens directly in the pop-up that appears upon log in.
Note: If you have integrated Slack, you will also see an option to receive token expiry emails through this method. More information about our Slack integration is available here.
What happens if my token is invalid or expired?
When a token expires or is dropped, the connection between Agorapulse and the relevant social network is broken. While there is no valid token, you will not be able to sync information from the social network or publish items through Agorapulse.
Agorapulse can sync historical data once a token is reconnected, but you are at risk of losing data if there period in which the token was invalid exceed our historical sync limits. You can find more information on those limits here.
Note: If a YouTube account has an expired token for more than 7 days, all data will be deleted from Agorapulse. You can find out more information here.