11min

Twitter Integration

The Pathfix Twitter Connector plugin enables integration from your Bubble app to your user's Twitter. The plugin will render the Connect button (UI) and calls the relevant Twitter API automatically. No configurations required to get the plugin working

This documentation will show setup guide and a few example use cases.



Setup

The plugin is available in the Bubble Plugin store. Before proceeding, make sure you have added the Twitter integration in your Pathfix account.

Important: You need to install the Pathfix OAuth Connector first before installing this plugin

  • Log into your Bubble app and click on Add Plugin
  • Pick the Twitter (OAuth) plugin by Pathfix Inc. and install it (click here to access the plugin)

  • Under x-partner-key (shared headers), add your Pathfix x-partner-key from the Keys section of your Pathfix account





Image: plugin page
Image: plugin page



  • Navigate to the Design section and select the Pathfix Connector element and enable Twitter from the list of providers. Or, select All Providers in my Pathfix Account, this will show all the integrations you have configured.



Image: enable provider
Image: enable provider



Once installed, there are no additional configurations required to get the Plugin to work. You can setup your workflow in Bubble and start using the actions.

The Connect button will automatically be added to your page that contains the Pathfix Connector Design Element. No additional settings are required

You can add Dropdown, text etc elements to pull in Twitter data for your users using the plugin and setup Workflows to Twitter actions.



Actions and Data Calls

The plugin calls a few APIs and offers them as Actions and Data Calls in your Bubble Workflow once installed. These are:



Document image

Note: Each consumed action is counted as 1 API call in Pathfix



Tweet With Media Setup

All of the actions and data calls are easy to use and is a one-step process, however, the process to Post Tweet with Media is a 4 step process (as required by Twitter). The plugin has been updated to offer this API connectivity, the following section shows the setup:

This is a 4 step process as Twitter needs certain info and file format, here is the sample setup.

Please note, you will need to select the user_Id as Current User's Unique Id everywhere.

Step 1:

  • Select to include the file size and file type with the call
Document image



Step 2:

  • Select the media ID String and Base 64 encoding



Document image



Step 3:

  • Finalize the media and select the Media ID String



Document image



Step 4:

  • Post the Tweet with media and Message



Document image



Need help? Reach out to us at support@pathfix.com



Updated 24 Mar 2022
Did this page help?
Yes
No