While ContentStudio itself may require a refresh of account tokens due to long periods of inactivity, social platforms like Facebook have their own safety precautions due to which tokens for certain platforms have different expiration dates. You will need to reconnect within this time period to extend the token validity.) Allow Authorization by logging into your social network's account and allowing ContentStudio. Check the image below to know where it is. Proceed to Social Accounts in Workspace Settings. (This means ContentStudio has access to your social networks for 39 days. How can I reconnect an access token In any case, if you need to reconnect your account, here's what to do: 1. If I used the connector after the token expires, I get 401. Then simply look under the Token Status to learn the expiration date of your accounts token. You can confirm your expiration date anytime by going to Settings > WorkSpace Settings > Social Accounts. Conversely, other networks do not have any expiration time. Workaround: We have to delete the store connection each time the authentication token expires. Once expired, you will see this error message when attempting to distribute an app via the same connection. For instance, Linkedin has 60 days and Facebook has 90 days limit. This is a problem because the authentication token expires in 3 months. Note that for Generate Token action, you should change Configure to Run after settings to run only when HTTP Fails. If HTTP calls errors out, generate a new token and set a variable. When you authorize a page, the access token is automatically created.Įach social media platform's authorization has a different expiration date. You can wrap it in do until something like below. If someone capture the token, the token expires after 1800 seconds. The tokens exists and have an expiration date for some reasons: The user/password is not passed on each request. That is why make sure that all your social accounts' access is authorized. The best and safe option is reuse the generated tokens. One you use to 'access' the API and one you use to 'refresh' when the access expires. To get authenticated at the start the user id and password are collected from the user and sent to Cognito. Keep your photos, videos, music, contacts, calendars, and everything else in sync whether you’re using your phone, tablet, or Mac. In order to renew an expired token, you will need to use the Refresh Token value to get a new Id Token. If your Social Account in ContentStudio is disconnected, then publishing, moderation, and analyzing content for your page and account will come to a halt. SyncMate is the only Mac file synchronizer you need to sync files between your computer and devices. What is an access token and how to refresh an expired token? What is access token expiry and what does 'expiring in X days' mean?
0 Comments
Leave a Reply. |