Skip to content

choctaw-nation/cno-plugin-facebook-share

Repository files navigation

CNO Facebook Share

A simple way to allow devs to create "Share to Facebook" links that pre-populate posts.

Getting Started

1. Install the plugin

The zip file can be found attached to the latest release on Github.

2. Enter your app ID in the Plugin's setting

Make sure you've added the appropriate app domains to the app you've created with Meta's developer platform.

3. Use the CNO_Facebook_Link_Generator class however you see fit!

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.


Changelog

v1.0.1

  • Fixed a bug with the default share text parameter
  • Fixed a typo in the changelog
  • Chore: updated packages

v1.0

Init!

About

A small plugin to allow devs to create Facebook Posts programmatically

Resources

License

Stars

Watchers

Forks

Languages