You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
I created a twitter widget using https://twitter.com/settings/widgets and embedded the code provided into the core> home.client.view.html , but the widget does not get rendered. I tried quite a few options like including the script in the layout view, also by removing deep linking '#!' in the urls, but nothing seems to work. I tried creating a completely blank view and putting the code there, that too didn't work. If I create a normal html file outside the project say on my desktop and include the code from twitter, the widget gets rendered. Is there anything I'm missing or is this a bug?
The text was updated successfully, but these errors were encountered:
Fixed it!
We need to add <script src="https://platform.twitter.com/widgets.js"></script> in layout.server.view.html
and call twttr.widgets.load() in the controller of the respective view where the widget needs to be shown. This is an angularjs specific issue.
I created a twitter widget using https://twitter.com/settings/widgets and embedded the code provided into the core> home.client.view.html , but the widget does not get rendered. I tried quite a few options like including the script in the layout view, also by removing deep linking '#!' in the urls, but nothing seems to work. I tried creating a completely blank view and putting the code there, that too didn't work. If I create a normal html file outside the project say on my desktop and include the code from twitter, the widget gets rendered. Is there anything I'm missing or is this a bug?
The text was updated successfully, but these errors were encountered: