Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fb_Page NOT WORKING with URL as variable #165

Open
pachu4u opened this issue Aug 28, 2020 · 3 comments
Open

fb_Page NOT WORKING with URL as variable #165

pachu4u opened this issue Aug 28, 2020 · 3 comments

Comments

@pachu4u
Copy link

pachu4u commented Aug 28, 2020

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
Copy link
Author

pachu4u commented Aug 28, 2020

attaching console logs
Screen Shot 2020-08-28 at 11 16 47

@AColo89
Copy link

AColo89 commented Feb 2, 2021

@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
Copy link

qanuj commented Jul 6, 2022

<fb-page [attr.href]="data.facebook_url" tabs="timeline"> should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants