I´m facing some obstacles concerning social plugins, namely the facebook share button at each Page.
Basically we want to add a facebook share button, at every page where there is a News Story (our website will be an entrepreneurship news platform) and we want that people are able to share that page content when they press on it, kind of like what is done in webflow´s Blog Designers will rule the web | Webflow Blog (if you scroll down you can see the facebook share button, and you can share only that page)
I went to facebook developers page, I got the code for a specific page on my website, I did the Html embed stuff, but it only shares my general website/homepage.
You can switch to different pages from nav bar and click the share button. There is two embeds on each page, one that has the code needed by facebook on each page just below the body and the other embed is the code you update on each page, to give a unique url.
Try that out, I hope it helps. That is about as close as we can get, before we build in great new features for this
Hi @BET_ventures, this share seems to be working for me, can you check again? When I go to your published page, the share is pointing to that current page, not the main web site address. You will not be able to use open graph meta tags for each page yet, unless you export the site and edit the html manually outside of Webflow. We do not have ability to edit page level Headers yet. Cheers, Dave
Hi Thanks @BET_ventures, I will take another look As soon as I have some info, will let you know Normally to set the image for each page, requires the OG:META tag to the image on each page (which we do not support yet), but I will check to see if there is a workaround in the FB share button script.
Hi Diogo, I will continue to check it, thanks for the update. Yes, the sample I sent works correctly. It should work for you too, unless there is something else FB is grabbing that from somewhere else. I am checking Cheers, Dave
Is you try to share, now all the text for the discription is showing.
Only thing missing is the image.
But if you take a look at this page http://betup.pt/seccao-our-bets/costura-com-a-celia somehow everything is working correctly, as if you press share, it shares the correct text and correct image, but everything is the same as in the other page whre it is not working.
The “go live” for the site is tomorrow, do you have any new ideas?
Hi @BET_ventures, my guess is that there is some server caching going on somewhere, that when Facebook is retrieving the URL, it is getting old info perhaps from a previous crawl of your site. The issue might solve it self in time. The code with the FB share button is good, I don’t think there is any problem there.
Here is what I see on the site that was missing the image:
One thing though on the site where the image is not showing, I only see one image on the page, the logo. There is a background image, but FB only work with image widgets, it will not read the background image.
I hope this helps. If not, please let me know – I’m happy to assist further!