Skip to main content
Frances Silva
Lead Developer
Asked a question 2 years ago

How to integrate the community into a website or mobile app?

Is there any way to display posts from the community on my website? Any widget?

Where am I?

In Tribe you can ask and answer questions and share your experience with others!

Eli Tribe TEAM
Customer Support Manager at Tribe

To make integrations between your website and your community, you can follow the simple steps below:

  1. Move the community to your subdomain.
    How to setup Tribe on my own domain or subdomain?504
  2. Add the community to your website header and footer navigation
  3. Update the community Navbar to make the header identical to your website.
    How to add navbar to my community?286
    What type of theme controls are available?210
  4. Learn about our widgets feature if you want to load content from community to your website. 
    Is there any way to display posts from the community on my website? Any widget?438
    You can also watch this video to learn more about our widgets:
https://www.youtube.com/watch?v=uhD1fIzbVpU
Mo MalayeriTribe Team
Celebrating Human Connections
Originally answered to "Is there any way to display posts from the community on my website? Any widget?"

There are few ways you can interact and integrate with Tribe in the following ways:

Tribe API: In Tribe, we use API for every single action in the product. Technically, our web interface is a client of Tribe API. As a result, you can do anything available on the web interface through API. 
For example, using API, you can send the community notification to the notification centre on your main website.
You can find our API documentation here: https://docs.tribe.so.412 
To use the API, you need to have the ClientId and SecretId. Contact Tribe team or your designated account manager to provide you with these information. 

Webhooks: Whenever an important action happens in Tribe, we can send a POST request to an URL defined by you with all the information regarding that action. You can use the information to do custom actions like adding a user to your CRM, or sending an email, etc. or even call back our API to do an action inside Tribe. 
Our webhooks are available here: https://developers.tribe.so/docs/guide-for-webhooks49

- Widgets: You can also use custom widgets or RSS feed to embed a part of the community in your own product or website. Here is the link to our Widgets: https://developers.tribe.so/315
Here are a few examples:

Q&A widget
Q&A widget
Question Widget
Question Widget
Home Page Widget
Home Page Widget

Tribe Firebase App: Firebase is an enterprise app. It allows you to send push notification on mobile devices. It works for both iOS and Android. Soon we are adding the functionality to sent push notification on desktop as well. You can learn more about it here83

Siavash
Co-founder at Tribe
Originally answered to "Is there any way to display posts from the community on my website? Any widget?"

You can easily embed a community feed into your website or mobile app using RSS, API or Iframe widgets. The feeds can be generated based on community topics so for example if you want users to interact under a product page, you can just show the feed of content related to that product and also let your users post content directly from your website. 

Using RSS

The easiest way is to use RSS widgets on your website. Most CMS and blog platforms have built in RSS support. To embed latest or most popular questions regarding a particular topic you can follow these steps:

  1. Go to Home and click on Topics in the sidebar.
  2. Pick a topic from the list.
  3. Click on the orange RSS icon in the filter toolbar.
  4. Use the RSS feed url in your favorite RSS reader widget on your website.

Our current solution before releasing RSS: Meanwhile, the easiest way is to go to any topic that you want to generate the RSS feed for, add `/feed` to the beginning and `/questions` or `/answers` to the end. Here is an example:

If we want to generate a feed for all the questions for Buy/Sell/Trade, first we go to the topic which has this url: https://community.workintrades.ca/topic/5cd5d1ba0a8f682ea0c04ce1184

Then we add `/feed` right after `.ca` and `/questions` to the end which results in: https://community.workintrades.ca/feed/topic/5cd5d1ba0a8f682ea0c04ce1/questions143

Using Tribe API

If you need more freedom or want to customize the look of the widget, you can always use Tribe API. Simply, send an AJAX request to https://community.tribe.so/api/v1/questions?query=Your+Topic203 and you'll get a list of questions related to the query in JSON format.

Alternatively, you can use the search API endpoint located at https://community.tribe.so/api/v1/search?query=Your+Query148 which will return relevant questions, topics and users.

Please note, you need to change community.tribe.so584 with your own community subdomain/domain.

Using Tribe Iframe widget

For certain Customers, Tribe provides an inline HTML iframe widget according. This widget is custom made for each Customer based on their branding guidelines. If your Company is interested in an Iframe widget, please contact us at info@tribe.so2,302.