fb_Page NOT WORKING with URL as variable
pachu4u opened this issue · 3 comments
pachu4u commented
Hi,
I am stuck with this strange issue.
This DOES NOT WORK
<fb-page [href]="data.facebook_url" tabs="timeline" >
I am sure the variable has the valid url of facebook
However hardcoding the href works
Thanks. Appreciate your help in this regard
pachu4u commented
AColo89 commented
@pachu4u I had the same issue. My workaround has been to add the href attribute to tag when my component was stable and before running this script: FB.XFBML.parse();
qanuj commented
<fb-page [attr.href]="data.facebook_url" tabs="timeline">
should work.