Webflow open graph is a great way to utilize your social media alongside your website page. If you create a lot of content or have a large library of content on your website, manually adding social media preview images can become a complex task. You can completely automate this process with Webflow’s open graph setup.
Webflow open graph allows your social networks like Facebook, Twitter, Instagram, etc., to pull data from your site when you add a URL of your site in any of your posts on these services.
With the open graph settings of your pages, you can specify which information from your social platforms you want to show when someone shares your page.
Setting up your Webflow open graph can be a complex process, but this guide will give you a step-by-step tutorial on how to have your webflow site working at its maximum capacity and optimize social content.
What is Open Graph?
Open graph is an internet protocol that Facebook created to act as metadata for your social media page. With an open graph, your metadata is displayed in the form of an image. This is an effective tool to have your audience check out your social media page. Just like a traffic bot, an open graph elevates your website.
Humans are visual, so having an open graph preview will make it more likely for your audience to consume content.
Open Graph setting in webflow might seem complex, but once you get the hang of it, you’ll be able to optimize your social content.
Here is how you can optimize your open graph settings
Access The Open Graph Settings
You can set up the open graph settings of your pages by going to the page setting section. You can set up one or multiple pages with an open graph setting; make sure you go to the specific page where you want to add an open graph.
To get to the page setting tab, click open the pages panel. You will find the page setting button; click on it to go to the open graph setting tab. Once you’ve opened up this page, your next step is setting up your open graph tags.
Setting Up Your Open Graph Settings
In webflow, there are three original tag options available to every user. These include:
1. Open Graph Title: This is the text displayed as the title of the page on a shared link.
2. Open Graph Description: This is the text that displays under the title, and this description gives people information about the shared page’s content. Think of this description as metadata for your social content.
3. Open Graph Image: This is the image displayed above the title and the description.
You can add your description to the title and description box to make your open graph link unique and easily readable by your audience. Use SEO for more traffic.
You also can match your open graph title and description to your SEO title and meta description. Just check the boxes underneath the title and description space to do so.
Some Things To Consider
Your open graph content is more efficient when specific to the page being shared on your site. Your home page’s open graph content should differ from your contact page’s. Remember, your open graph settings only apply to the page you have set the setting for. If you want all your pages to have an open graph, go through each page and update its setting.
If you don’t set up your open graph setting, webflow will automatically pull out random content from your site when you share it on social media.
Setting Up Your Open Graph Image
You have to follow a particular open graph image format when doing your page setup. You have to use a webflow open graph image URL. This URL can be used to add an image, and it must be a direct link. This means that it ends in the filename with the extension. If you are not using your image, only use images you have rights to use and share.
Once you have chosen your image, you can upload it to the asset panel. You can grab the URL of your image in the asset panel by clicking the settings button that appears when you hover over the image in the asset panel. You can right-click on the link icon next to the asset name in the asset details menu to grab the URL. Once you are there, just copy the link, and you will have your URL.
How To Create Dynamic Open Graph Settings
If you create collection pages for your webflow site, you will need to put down a pattern that can be used as their open graph information.
Collection pages work as a template for your site, so anytime you add a new page to your site or make an update, your collection settings use your preset designs on any new pages. This cuts down the hassle of individually setting up a new page.
If you want to use open graph settings for your collection pages, you need to define a pattern so that your collection page settings work seamlessly with your open graph settings. All of your collection items will automatically generate their open graph title, image, and description based on your pattern.
If you want to edit any information, just go to the collection template page setting. You can edit these settings, similar to how you edit static page settings.
Why Are Collection Templates Important?
Collection templates are a powerful tool that everyone using webflow should use. Collection templates and open graph settings work effortlessly together. This tool makes it easy to pull in unique information for each Collection item. You can create professional and visually pleasing layouts for your site.
You don’t have to manually write the Open Graph title for each blog post with this process. Instead, you can have Webflow pull that content from your post's name or title field.
Testing Your Open Graph Setting
Once you have set up your open graph settings, you should run a test to ensure that all your information is correct and viewable by your audience. Sometimes you might run into issues when setting up your open graph. You might ask why my open graph image is not showing up or why my open graph is not working. In these instances, a test is highly beneficial.
To make sure correct information is displayed, do the following steps:
1. Paste the link to the page from your site in a post box on your desired social media site, e.g., Facebook
2. Once you add the link to the post box, take a look at the information that shows up. Does your open graph preview have all the relevant information? Is your open graph image size correct? Is your open graph content showing up? These are some of the questions you can ask yourself when running the test.
Updating Your Open Graph Settings
If you want to fix any open graph issues or you want to update your information, here are some steps you should follow:
1. Go back to your webflow page settings and ensure that all the information is correct.
2. If you think there’s any incorrect information or needs to be updated, make the necessary fixes.
3. Once you have fixed your information, save your page settings and publish the site.
4. If you use Facebook, paste your website link on the Facebook debugger software. Debug your link and then scrap the data.
How Do You Change Open Graph Image In Webflow?
In some cases, you might notice that only the title and description appear when you share your website link on Facebook. You might wonder why is your webflow open graph image not working? Your set image is missing in your open graph settings when this happens. This problem usually occurs when your page is shared for the first time.
To fix the image issue, simply cancel the post and try again. If you share the link on your second attempt, your image will appear. According to Facebook, the main reason why your image doesn’t is due to its dimensions.
If you believe your image dimensions are incorrect for your open graph preview, do the following steps:
- Use the same image dimensions for all the images on your site.
- If an issue persists, add the following code in the head section of your website:
- <meta property="og:image:width" content="1200">
- <meta property="og:image:height" content="630">
- Adjust the content values for the height and width of your image according to the pixel value of the images on your site.
Open graph is an easy way of connecting your social media and your webflow site. Setting up your open graph can elevate your website and bring more traffic to your existing social platforms.