Very good like always 😉
NodeBB Twitter / X embeds
-
This does work well. One behavior is that sometimes it will show the link embeded multiple times, then it clears back to singular when you refresh the page.
-
@OT Yes, I noticed the same thing and will fix that in due course. I also looked at creating a plugin, which I will also address when I have time.
-
As usual : very good work my friends
I’m going on vacation for a week so I’ll try this later -
Tested.
It seem embed is on a blockquote.
I play with this classblockquote.content.twitter-tweet
for better résult (transparency of blockquote)I notice it seems the beginning of URL appears (https://)
Result int the screenshot :
cya
-
@DownPW strange. I’m not able to replicate these specific issues. Can you provide me with the url of the tweet in a PM so I can test?
Thanks
-
great work thank you Mark.
-
This is how it shows up for us. Just have the random dupes of the same tweet. Of course, users are complaining of seeing a tweet repeat three times, but they quickly forgot that a tweet was just showing the X.com using Iframely or any other plugin.
-
@OT can you post the actual tweet url ?
-
I’ve had it where a tweet will show twice but once the page has been refreshed it’ll show the one again.
-
Updated code to address the duplicate tweet issue
https://github.com/phenomlab/nodebb-twitter-embeds/blob/main/embeds.js
-
@phenomlab That is awesome, great job!
-
Have you experienced that some posts will not show up after they have been posted, or that the post will look greyed out? This goes away if you refresh the page.
-
@OT Not seen this personally. Are you using the latest commit?
-
An exemple of tweet don’t embed with last code @phenomlab
https://x.com/SaxX/status/1850458923481825567
EDIT:
Strange, work here but not on my forum:
Other tweets works great
Mistery
-
@DownPW Are you sure you’re using the latest commit?
-
@DownPW said in NodeBB Twitter / X embeds:
EDIT:
Strange, work here but not on my forum:
Just looking at this again, and it seems that SaxX in the URL is written as SaxX - was that intentional?
-
@phenomlab said in NodeBB Twitter / X embeds:
Just looking at this again, and it seems that SaxX in the URL is written as SaxX - was that intentional?
I don’t know. I guess but that doesn’t explain that working here and not on my forum… hmm
URL:
https://x.com/_SaxX_/status/1850458923481825567
Itt seems on my forum the “_” character was delete in the URL (Don’t know why) :
-
@DownPW Can you PM me the link to prod so I can have a look?
-
@DownPW There appears to be a space inserted in the URL?
Note, after the
/
where it is formatted as/ SaxX/
-
hmm not on my screen :
but “_” dissapear