TwinrDocs
Store plugins / Sharetribe

Sharetribe

Connect your Sharetribe marketplace to your Twinr app and send push notifications to your marketplace users.

Twinr attaches each user's device token to their Sharetribe profile when they log in inside the app. You then send notifications with the Twinr Push API: from Zapier for listing and transaction events, or from your own backend for anything else.


Prerequisites

  • A paid app subscription that includes the Sharetribe plugin
  • Admin access to your Sharetribe Console and the Twinr Builder Portal
  • Firebase set up for push notifications
  • Login enabled in your app, with a Login Script
  • A Zapier account, if you want to send listing or transaction notifications without code

Setup

  1. Connect Sharetribe. Create an application in the Sharetribe Console and enter its Client ID and Client Secret in Twinr. See Sharetribe Connection.
  2. Build your app with the latest Twinr version, so it attaches device tokens to user profiles.
  3. Send notifications:

See the Overview for how the pieces fit together.


Troubleshooting

Invalid Client Credentials

  • Check that the Client ID and Client Secret are copied correctly.
  • Check that they belong to the right Sharetribe marketplace.

The Connection Was Removed

If your app's subscription changes to a plan that doesn't include Sharetribe, the connection is removed. Reconnect after upgrading.

A User Has No Device Token in Their Profile

  • The user must log in to your marketplace inside the app at least once. Logging in on the website in a browser doesn't attach a token.
  • The app must be built with the latest Twinr version.
  • When a user logs out in the app, Twinr removes their token. It comes back at their next login.

Zapier Not Triggering

  • Check that the Sharetribe trigger event is turned on.
  • Test the Zap manually in Zapier.

Security

  • Keep your Sharetribe Client Secret and your Twinr account secret on your server or in Zapier. Never put them in a web page or in the app.
  • Rotate credentials periodically, and disconnect the integration if you no longer need it.