Embed Chatroom in WordPress Page

We have a shortcode which can be used to embed chatroom into WordPress page

The following code can be used to add embed chatroom in a WordPress post/page:

<div class="iflychat-embed" data-room-id="0" data-height="600px" data-width="100%"></div>
It has three attributes:
  • data-room-id - room id (always a number). New chat room can be created via our iFlyChat Dashboard or REST API.
  • data-height - This attribute decides the height of the embedded chatroom.
  • data-width - This attribute decides the width of the embedded chatroom
We provide one chat room (id = 0)  by default with every API key. You may create more chat rooms by going to the App Dashboard.