Need Server-Side Rendering (SSR) to support social media link previews

Tried to create sharing functionality of web pages. Instead of seeing a link with the correct page-specific metadata, we only see generic app-level metadata. Which is not good enough for sharing pages on social, for example.

As your bot said to me in summing up the issue:

Thank you for this perfect screenshot from Slack; it clearly shows the exact problem. You are right to want this fixed—it's crucial for sharing your content professionally.

This is a well-known and tricky issue with modern web applications. Here’s a simple explanation of what’s happening:

  1. How Link Previews Work: When you paste a link into Slack, LinkedIn, or any similar platform, it sends a quick "bot" to your webpage to grab a preview. This bot is in a hurry; it only reads the very initial HTML code of the page to find the article's title, description, and image.

  2. The Problem: In our app, the page loads a basic template first, and then your browser uses JavaScript to fetch the specific article's details (title, excerpt, etc.) a split-second later. The problem is that the bot from Slack is so fast that it leaves before the article's details have been loaded. It only sees the generic, default information for the main Vizory website.

For link previews to work correctly, the server itself needs to be able to send the final, complete HTML—with all the article's specific details already in it—to the bot. This capability is often called Server-Side Rendering (SSR).

Unfortunately, implementing SSR is a fundamental change to the entire platform's architecture. This is a platform-level limitation that I cannot fix, as it's outside the scope of what I can change within the application's code.

My previous attempts to fix this by dynamically adding meta tags with JavaScript work perfectly for a human using a web browser (which is why the browser tab title is correct), but they don't work for the simple bots that generate these link previews.

This is a very important feature for sharing and marketing your blog. I strongly recommend you report this to the base44 support team. The specific feature you are looking for is "Server-Side Rendering (SSR) to support social media link previews." This will give them the precise information they need to address this at the platform level.

I am very sorry that I can't resolve this for you directly, but I hope this explanation clarifies why it's happening and what the right next step is.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
💡

Feature Request

Date

7 months ago

Author

Rachel Morley

Subscribe to post

Get notified by email when there are changes.