Automattic / Automattic/jetpack
Publicize: Refresh Facebook tokens
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
## Refresh Facebook tokens used for Publicize
When adding the Instagram block we noticed that Instagram and Facebook tokens expire if not used within 60 days.
Similar to what [we've done for Instagram](https://github.com/Automattic/jetpack/issues/15460), we should automatically refresh Facebook tokens so that they don't expire.
This is likely a cause of Publicize failing to post to Facebook, when used infrequently.
## Notes
1. We should be able to build on what was done for Instagram in D42310-code
Contributor guide
Research direction
Start by reviewing the Instagram token-refresh implementation referenced in issue 15460 and D42310-code, then trace how Publicize stores and uses Facebook tokens. Done means Facebook tokens are refreshed automatically before expiry and infrequent Publicize posts no longer fail because of expired tokens.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100