Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/triggerfishab/social-plugin/archive/refs/heads/master.zipHooks
Filters
tf/social/show_ui Display admin UI.
tf/social/provider/request_parameters
tf/social/provider/post_array
tf/social/provider/limit_per_account
tf/social/provider/wp_remote_parameters
tf/social/settings/instructions
Actions
tf/social/account/deleting
tf/social/account/deleted
tf/social/accounts/added
tf/social/provider/post_inserted
Todos
- Om access token har gått ut vid synk, notifiera till angiven mail och i admin notice. Mailfält under inställningar.
- Lägg till stöd för taggar på Instagram och Twitter.
Följande packages bör uppdateras och säkerställas att allting fortfarande fungerar:
- league/oauth2-instagram
- league/oauth2-linkedin
Running PHAN
The project has a PHAN config with a very low level. You may run it with the following command:
./vendor/bin/phan --progress-bar -o analysis.txt --allow-polyfill-parser
After running the above command you can run the following to get a summary of the types of errors and warnings found:
cat analysis.txt | cut -d ' ' -f2 | sort | uniq -c | sort -n -r
More info: https://github.com/phan/phan/wiki/Tutorial-for-Analyzing-a-Large-Sloppy-Code-Base
TODO: Use a more strict config. Set minimum_severity to SEVERITY_NORMAL and do other adjustments as mentioned in "Slowly Ramp-Up the Strength of the Analysis".
Releases
5 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.