Hey guys! I know that this was asked already quite a few times and I even followed one of the tutorials to create your own customized sharing links. The facebook interface pops up and the link as well, but then i can’t click share. And even if it worked i wonder if the image thumbnail would share or simply just a link.
Can you help me out on this? Here is the example of one of the events
at the bottom of the page a link for facebook and twitter. I created an embed box component and this is the code i inserted:
Notice how in your version you left the “u=” and the “t=” sections blank. “U” means “URL” and “T” means title. So by leaving those sections blank you were opening Facebook without telling it what you are sharing.
But basically if you to make a button with the link I showed above, it would do this: CLICK ME
So with that in mind you basically just need to set up an A tag in your custom HTML embed that fills the appropriate information dynamically.
I put /post/ in the url because I assumed you would be sharing a specific blog post, but basically you would put the slug of whatever collection you are in - whether it be product, work, author, ect.
PS You can ignore the “onclick” bits you put in. That looks like Javascript code which should be put in the footer not in an A tag. But if you do it the way I indicated above it isn’t necessary.