Comments (2)
Apps can currently intercept the URLs from messages, do their own request, and modify the original message to include either attachments
or UIKit blocks to enrich the content.
The Engine shouldn't need to provide any other special functionality for this to be possible
from rocket.chat.apps-engine.
@d-gubert Could you please provide link(s) to relevant documentation how to set this up?
- Note: I found nothing myself at https://docs.rocket.chat
How does Rocket Chat's Link Preview work?
And in what aspects can a RC admin or user one influence its behavior?
-
Server-side: RC Server (consumer) via an embed mechanism (oEmbed, OpenGraph, etc) gets the data from the provider (e.g. Jira or Github) and integrates that into the markup of the message.
- Then you could set up one API-key or pseudo-user per each external website requiring login and this one fetches everything needed for the Link Preview, stores the assets in copy on the server, and embeds the markup into the message.
-
Cient-side: The message contains the URL as-is, and then the client fetches it?
- Then each user would need to set up his credentials per service for link preview fetching.
from rocket.chat.apps-engine.
Related Issues (20)
- Configured environment is not supported yet HOT 3
- Unable to allow for a multiline string via ISetting.
- Configuring logging levels in Apps engine applications
- [Enchancement] ClientSecret Input Under App Settings Must be of SettingType Password HOT 1
- Expect editedBy name
- Reactions field inconsistency
- Iframe interface not available in PreviewBlock in ui-kit
- [BUG] getDirectByUsernames and Creation of Direct Room returning general channel instead expected direct room by usernames
- [BUG] getDirectByUsernames and Creation of Direct Room returning general channel instead expected direct room by usernames HOT 2
- VM2 got security issue and have been discontinued
- IPostUserDeleted definition uses AppMethod.EXECUTE_POST_USER_CREATED HOT 1
- IHttp won't work in the app implement IPreMessageSentModify
- Allow custom ignore from walkDirectory in getAppSource
- IRoomBuilder setDisplayingOfSystemMessages wrong type
- Migrate to new FCM API v1 from GCM
- Registered button in Livechat room is not visible HOT 1
- Allow using the user created by the Apps Engine to perform Rest request
- URL is not defined in HOT 2
- The getBlockBuilder method is deprecated HOT 1
- multi_static_select HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocket.chat.apps-engine.