Embedding tweets
-
Cant find anything other than that and this: https://www.npmjs.com/package/nodebb-plugin-iframely?activeTab=readme
I think simple embedding would work with HTML
Like this:
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">An anonymous fan send me this great piece of art to congratulate <a href="https://t.co/D9Fa3QKc3a">https://t.co/D9Fa3QKc3a</a> on answering its 60,000th question. Please join me in congratulating Peatbot on a job well done! <a href="https://t.co/ZgvEqtwjh3">pic.twitter.com/ZgvEqtwjh3</a></p>— Brad Cohn (@BradCohn) <a href="https://twitter.com/BradCohn/status/1772360294720835822?ref_src=twsrc^tfw">March 25, 2024</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
-
-
@brad we getting there
-
@Kilgore i see a black screen
-
@brad @Kilgore Looks like it's working, somewhat. Not sure why that tweet didn't load. I installed it and got an API key.
-
@brad Okay the youtube one loaded in for me. Not the twitter ones tough.
-
This post is deleted! -
@Kilgore Also - I don't think I can go with this solution as it requires me to host a server (not going to do that) or pay for their API (which at our traffic level would be quite pricey). Best bet might be patching this: https://github.com/NicolasSiver/nodebb-plugin-ns-embed/issues/45
-
@brad Okay. I thought you self-hosted.
-
Thank you gentlemen
-
@ThinPicking @Kilgore I'm not self hosting. If someone else would like to host I can use their server. I just don't want to deal with another server right now. My account will be suspended tomorrow - we'll see what happens with the service.
-
Ah! Ok, I didn't read above properly. Just saw some embeds and lit up.
Allegedly where there's a will there's a way. And I will. The NodeBB server/instance is yours right, you have root access to it? (Just so I can direct some reading.)
-
@ThinPicking No, I'm using a hosted version, so I don't have root on the server. I do have access to the admin console of the nodebb instance though.
-
Ok, I'm running with it. To be continued...
-
They hate me. They're calling me a cheap freeloader. @Kilgore @ThinPicking
-
@brad Loool
For a start if you link any youtube links it will automatically embed it. I dont understand that at all. It should work just when someone selects the embed option for sharing. And the twitter embedding doesnt work anyway.
But how fast they backtracked all their demands haha. They probably want to charge you exactly the moment you reach 2000 posts. Probably wouldn't reach it unless it adds up from every month so January 153, March 200 + the 153 = 353 and so on.
We need @ThinPicking to save us.
-
Gents apologies, I got a bit distracted with corporate quota and waffle.
I do want this quite a lot. So I can make cheap meta memes and be led down rabbit holes. I will steal the time tomorrow morning.
@brad, don't pay them anything! Let it lapse.
-
@ThinPicking mate. Forum priorities come FIRST. Quit your jewb.
I want to start a 'cute animals' thread btw. Make sure twitter works and thanks.
-
@ThinPicking I will NOT pay the SaaS companies. I will NOT put in my CC details.