A simple way to allow devs to create "Share to Facebook" links that pre-populate posts.
The zip file can be found attached to the latest release on Github.
Make sure you've added the appropriate app domains to the app you've created with Meta's developer platform.
It is a globally accessible class, so simply instantiate and use its 2 methods ((get)_the_href
and (get_)the_link
).
There are technically 4 methods, but the class is built with a WordPress-y API so there are essentially only two methods.
- Fixed a bug with the default share text parameter
- Fixed a typo in the changelog
- Chore: updated packages
Init!