Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to embed Twitter content
Prosper
✭✭
Does anyone know how to embed Twitter contents (videos, tweets) on vanilla version 2.2?
Tagged:
0
Best Answer
-
hgtonight MVP
This should work be default on 2.2. It works on my fresh install. What are your config options for 'Garden.Format' and what is your input formatter?
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
5
Answers
This should be enabled out of the box in Vanilla. You can disable it via a couple configs.
What type of URLs are you using?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
@hgtonight - I tried to embed Twitter content on vanilla forum version 2.2 but could not.
This is the URL I tried to embed:
<blockquote class="twitter-tweet" lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/hashtag/Anonymous?src=hash">#Anonymous</a> publishes 3 Newbie "How-to" <a href="https://twitter.com/hashtag/Hacking?src=hash">#Hacking</a> Guide to Fight against <a href="https://twitter.com/hashtag/ISIS?src=hash">#ISIS</a> <a href="https://t.co/vD3kW5IaKK">https://t.co/vD3kW5IaKK</a> <a href="https://twitter.com/hashtag/OpParis?src=hash">#OpParis</a> <a href="https://t.co/4PUcqy55VJ">pic.twitter.com/4PUcqy55VJ</a></p>— The Hacker News (@TheHackersNews) <a href="https://twitter.com/TheHackersNews/status/667284175871803392">November 19, 2015</a></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
This should work be default on 2.2. It works on my fresh install. What are your config options for 'Garden.Format' and what is your input formatter?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
@hgtonight - so the URL of the tweet is the right one to use.
I got it. Thank you.