Rocket.chat: Embed a rocket chat stream of a channel into a webpage.

Created on 21 Jan 2016  路  10Comments  路  Source: RocketChat/Rocket.Chat

The idea would be to enable viewers of a page such as mysite.com/topic2 to view what is happening in channel #topic2.

The div layout would look something like:

| menu |
| --- |
| page content |
| rocket chat room stream |

In other words, the ability to embed a rocket chat channel into a webpage.

It would not require full functionality as the idea would be that when the user clicks the channel div then they are taken to the full app such as chat.mysite.com

If anyone has any ideas on how this might be implemented please let me know.

Cheers

Request

Most helpful comment

All 10 comments

:+1: so basically like having twitter feed (like a widget).. perhaps we can also measure what is trending if enough hash tags used or CASH tags ;) in case of stocks

I am still looking for this functionality, anyone know how it could be achieved?

I think you can add ?layout=embedded to the end of the channel url and wrap it in an iframe, right?

Does anyone know how to automatically login a user in the iframed rocket.chat, ?

I have used "https://xxx.xxx.xx:3000/api/v1/login" and getting the success in response
stdClass Object ( [status] => success [data] => stdClass Object ( [authToken] => BPT8Gt4k2fbUZjtQDfENtKawa41ZwwwmbV6KH-_kL8akvT [userId] => dSZ38wjgPD33irls4L6Y ) )

how should i use this response further to achieve above goal.

Thanks for your help

Any news on this? I'm interested in doing the same as @Superhearing

Is this what you're looking for?

image

This is actually possible via iframe. You can use the layout query param to restrict to embedded which wouldn't have the channel list, instead just the channel

@geekgonecrazy but the a viewer would need an account and to login right?

Not if you enable anonymous read

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Buzzele picture Buzzele  路  3Comments

karlprieb picture karlprieb  路  3Comments

mddvul22 picture mddvul22  路  3Comments

tanc picture tanc  路  3Comments

neha1deshmukh picture neha1deshmukh  路  3Comments