WP Manifestindependent plugin directory
manifest / social / social-plugin

Triggerfish Social

WordPress plugin that retrieves posts from social meda and saves them as custom post types.

★ 1stars
2.0.2latest · 3 years ago

Install

Download source zip No release zip yet

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.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Hooks

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.

Tag
Published
2.0.2 latest
Feb 24, 2023 3 years ago
Feb 16, 2023 3 years ago
Feb 16, 2023 3 years ago
Nov 25, 2022 3 years ago
Sep 6, 2019 7 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.