Developers

Our platform was built to be flexible and intuitive for developers like you. You own all the data you collect with Tradable Bits. Our API and SDK are designed to make it easy to access your fan data, tickets and campaigns at any time, on your terms. Customize the front end of any of your campaigns with the help of our documentation, complete with examples. Our RESTful API helps you access, send or receive fan data from our system to your endpoints quickly and securely. Enrich your Fan CRM and Tickets Analytics with data from other CRM systems through our many integrations. Have any questions about our developers platform? Our support team is happy to help.

Embedding Meta Apps, Comments and Stream via iFrame (embedded.js)

Download: embedded.js

Embed existing visuals into your website via iFrame with the embedded.js library. The resulting iFrame will automatically resize itself vertically, matching the content height.


Method List

loadTradablebitsApp( divId, pageTabId )

Render the application inside the div via given ID. PageTabId can be retrieved from the microsite URL. The first number is ID of the tab.


loadStream( divId, streamKey, label )

Render Stream inside the div. This div/iFrame will automatically resize with content and is intended to be used with infinite scroll. If that's not the intended behavior, it is recommended to embed the iFrame directly.


loadStreamWidget( divId, streamKey )

Embed Widget into the Div


loadStreamShop( divId, streamKey, label)

Render Stream in the form of shoppable feed ( iframe will extend as content grows)



Embedding Example

Simple embed of Stream widget

<!-- HTML Example for embed -->
<div id="sample-div"></div>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.0.min.js" ></script>
<script type="text/javascript" src="https://tradablebits.com/embedded.js" ></script>
<script type="text/javascript">
    $(document).ready(function(){
        loadStream("sample-div","test",null);
    });
</script>