Retrieve link to share my post

Hello,

I use cordova-plugin-x-socialsharing plugins to share posts.

I try to get my link found in this variable -> itemCtrl.item.guid|trustHtml -> {{itemCtrl.item.guid}}

but I can not retrieve in my onclick

if I do this, it works very well

<button class="button button-icon button-clear ion-share" menu-toggle="right" onclick="window.plugins.socialsharing.share('http://www.example.com')"></button>

but if I do that, it does not work, I see how I can get my link :frowning:

<button class="button button-icon button-clear ion-share" menu-toggle="right" onclick="window.plugins.socialsharing.share('{{itemCtrl.item.guid}}')"></button>

can you tell me how I should do to recover my link? thank you

Hi,

As I said above,

I tried to get my wordpress url since the variable that displays the URL is as follows: {{itemCtrl.item.guid}}

you can see my source code from my page here article.html

http://pastie.org/private/695hffvzdit3mg8vgr07ia

Thanks again