-
Notifications
You must be signed in to change notification settings - Fork 0
Providers: Setup Facebook
To use Facebook credits you'll need to register an Application in the Developer Center.
From the Developer Center, go to the application you'd like to connect with Onscribe.
In the settings page there are two areas of interest, as shown below:
First, you'll need to add onscri.be
as an accepted app domain:
Then you'll need to add (or update) the canvas app, and set the url to Onscribe:
Note that if you're already using your Facebook canvas and don't want to update this URL, simply make a new application just to handle the subscriptions.
Switch to the payments section, as seen here:
After selecting your company at the top, enable both callback options available, for payments and subscriptions, and enter https://onscri.be/order/update/facebook
as the URL value:
If the callback isn't setup your users will still be able to subscribe but Onscribe will not be notified if they modify their subscription outside of Onscribe (for example from the Facebook account settings).
Final step, back to the settings page to pick up the credentials and complete the integration:
At the top you'll find the credentials Onscribe needs to connect with the Facebook app:
Simply copy the two fields (key/secret) and paste them in the corresponding fields when creating a new provider at Onscribe:
As usual, this is a one-time setup. You are now able to use this Facebook provider in any number of products :)
If you want to stop using Onscribe in the future you can freely reset the secret and eliminate any possible security breach.