Hi! I can not run the Telegram script on the site. Help me please.
<script async src="https://comments.app/js/widget.js?2" data-comments-app-website="aq-yiZUo" data-limit="5"></script>
Hi! I can not run the Telegram script on the site. Help me please.
<script async src="https://comments.app/js/widget.js?2" data-comments-app-website="aq-yiZUo" data-limit="5"></script>
You can add html code into Wix via two ways.
Through an html iframe on the page.
https://support.wix.com/en/article/adding-visible-html-content-to-your-site
Or through using a custom tool in Tracking and Analytics.
https://support.wix.com/en/article/embedding-custom-code-to-your-site
If it is not working for you then you are better suited going back to Telegram’s own support area and asking them how they implement it into Wix or if it can actually be implemented into Wix to begin with as it only states it is compatible with WordPress.
https://core.telegram.org/widgets/posts
https://telegram.org/faq
https://telegram.org/faq#telegram-support
Wix does not provide support for third party code that it has not had the chance to test and get working fully on their own servers etc.
However, Telegram does have it’s own API, so you would be much better working with that instead of using html code, although it would involve a lot more work on your side.
https://core.telegram.org/api
https://www.wix.com/corvid/reference/wix-fetch.html
https://support.wix.com/en/article/corvid-accessing-third-party-services-with-the-fetch-api
https://support.wix.com/en/article/corvid-managing-external-code-libraries-with-the-package-manager