I saw that in “social” tab there is a “facebook share” button, but it’s not customizable.
I was trying to make my own facebook share button, but i’m stock in coding. The most important thing i need is to make that button “dynamic” with my item dynamic page.
For example: I have a dynamic page of an item, in this case a hat, and i want to make a share button on facebook with the dynamic link in the code.
I first tried with HTML code. The result is nearly perfect, except that i don’t know how to make it “dynamic”.
i was trying to make it possible with wix code, but an HTML code can’t be connected to a database. If someone knows how to solve this, i’ll be 100% thankful!
Communication between an iframe and wix code is very much possible.
See an example here
Get the data from the dataset using getItems() and send it to your iframe.
Mmm I’m so sorry Ido but i didn’t understand at all.
So I have to wrote a code and connect it with my HTML code, I got it, and to call the dynamic url i have to use getItems() to get the dynamic id {mysite.com/{Title} for example?}.
But i din’t understand how to connect it to my HTML code:
To call the data in “https://mywebsite.com” i have to use a get option? like it is a javascript code?
I’m not good in coding I’m sorry and I know you are wasting your time, but I’ll be very thankful if you can help me.
Hi Fed,
My suggestion is to change anchor element to button element.
Learn and use this article .
You need to use like in the example in “postMessage” method.
In order to navigate to other pages wixLocation is the way to do it.
Feel free to post specific questions regarding code below.
Good luck!
Roi
I am having almost the exact same conundrum. I created a user input form, which leads to a dynamic page, which I then need people to be able to share… Did you have any success? Could I see an example? I also found this from “Share This” which uses java script… perhaps this will help? Haven’t tried it yet. How to Install ShareThis' Tools on Wix - ShareThis