Hyperapp, Social share link and og:url

39 views Asked by At

I'm having a little problem with my (facebook) share link. I use hyperapp and fbbot will not execute js, so my meta will not be displayed.

So i made a sharing page on my api (with a js redirect to my front for user).

Everything works good, but, when i share, i see [api-mydomain.com] in the preview/sharing post.

I understand that is my og:url that tell fb what to do. So i need fb bot to stay on this api page to retrieve meta, but i would like [mydomain.com] in the post.

Is there a solution without php?

Am i doing it wrong way? Thanks.

0

There are 0 answers