Help with SEO for FB

I need to change the meta tags og:title, og:description and og:image of a website. I found that i can do that in the index component

However, I have a problem with this which is that the options are very limited, for example I can’t get the values from a state or an API and I need to do that.
image

Any solutions?

I have just resolved (or found my own way) for this exact problem. I am using an API to generate page content and I had asked the Title and Description fields to search that API for the content wanted. It does not work. Try more if you like, but I couldn’t force it to load the data BEFORE it loaded the page, and therefore it was returning null fields on debug.

so my hack-around was to make a new table in my bubble database, populate it with the title, description and slug fields. I now search the bubble db for the corresponding entry that matches the slug (path) that is being loaded. Path is also used via the API to the page loading - nothing changed there.

It’s annoying - as this content doesn’t change too much for me, so I can live with it.

if you find a better workaround for dynamic SEO content from an API please let me know! I would happily undo this work. I was just starting to annoy google so I wanted an SEO fix - I now have one :sweat_smile:

This topic was automatically closed after 70 days. New replies are no longer allowed.