This is the reason...
NOW
Image Credit: @phenomlab 😉
unknownjjj.png
Absolutely brilliant @baris, the difference is clear 👍
PREVIOUSLY
Screenshot_2021-05-10 TalkCounty com(3).png
It's not working on our local install anymore?
Should we update something?
@Giorgio-Chiodi Twitter or imgur?
@a_5mith nodebb-plugin-twitter
@a_5mith just tried removing and reinstalling - nothing.
@Giorgio-Chiodi Ok, I'll have a look, I made a pull request a few days ago that updated the route so it worked with latest version. Don't know what would stop it working on local.
EDIT: What do you see when you run it? Is it blank? Or do you see the URL?
@a_5mith blank when the plugin is activated, url when deactivated.
@Giorgio-Chiodi Can you view the source code and paste here the contents of that post.
<div id="content_720" class="post-content" itemprop="text"><p><span data-url="https://twitter.com/EmDunks/statuses/481106174428078080"></span><script type="text/javascript" src="//api.twitter.com/1/statuses/oembed.json?id=481106174428078080&callback=twitterEmbed"></script></p></div>
@a_5mith I checked the JS console, I'm getting a
Status Code:403 Forbidden
@Giorgio-Chiodi Do you get a json output when you visit this page?
Do you follow that user on Twitter? Are you currently logged into Twitter? If yes, can you log out and try again.
here's my source
<p><span data-url="" style="visibility: hidden;"><iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" class="twitter-tweet twitter-tweet-rendered" style="display: block; max-width: 99%; min-width: 220px; padding: 0px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; margin: 10px 0px; border-color: rgb(238, 238, 238) rgb(221, 221, 221) rgb(187, 187, 187); border-width: 1px; border-style: solid; box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 3px; position: static; visibility: visible; width: 500px;" title="Embedded Tweet" height="0"></iframe>
<script async="" src="//platform.twitter.com/widgets.js" charset="utf-8"></script></span><script type="text/javascript" src="//api.twitter.com/1/statuses/oembed.json?id=481066672002854912&callback=twitterEmbed"></script></p>
No I don't follow the user, and yes I'm logged in.
The weird thing is that it displays and disappears randomly, both on Chrome and Firefox.
Keep in mind this is a local install.
@Giorgio-Chiodi I'm not entirely sure, can you try cloning the repo rather than through npm, I'm not sure if my changes have been pushed.
cd rm nodebb-plugin-twitter
cd node_modules
git clone https://github.com/dovydaskukalis/nodebb-plugin-twitter.git
If that doesn't work, I will try and get nodebb installed on my local machine and have a look, unless anyone else has any ideas I haven't explored...
@a_5mith Ok, I did a clone - no luck
@Giorgio-Chiodi I did, sorry. Seems others are having an issue with embedded tweets on localhost. I'll need to have a look into it.
Ok, no problem. I'll disable it for now.
@a_5mith Any update on this?
This plugin needs an update, doensn't work on mobile (safari) or steam browser
Hi, I have just installed 0.6.1 and noticed this plugin does not embed anymore.
Need an update ?
Actually could be the localhost issue, I did however see it working at one stage ...