The Pathfix Facebook Connector plugin enables integration from your Bubble app to your user's Facebook account. The plugin will render the Connect button (UI) and calls the relevant Facebook API automatically. No code configurations required to get the plugin working.
This documentation will show setup guide and a few example use cases.
The plugin is available in the Bubble Plugin store.
IMPORTANT: You need to install the Pathfix OAuth Connector plugin first before installing this plugin
Your plugin is activated and ready for use.
If you are looking to post to Facebook pages, Facebooks needs you to call an additional API - ‘Get page access token’ API
The Facebook Connector plugin calls this API as well and allows you to set the state. Here are the steps to calling the API and acquiring the Page Access Token.
Assuming you want to pull all the pages owned by the user and show it in a dropdown option to select the page they want to post to:
This will post the message to the user's selected page.
Since the page_id and page_access_token have been set, you can choose to save it to your Bubble database against the user.
The following APIs are called in the Facebook Connector plugin.
Note: If you are looking for any additional APIs, send us an email to firstname.lastname@example.org and we will add the API to the plugin