Should be fixed on master.
[nodebb-plugin-twitter] Twitter tweet embed plugin
-
Thank you @a_5mith .
I don't have the reported error in log anymore, yet I don't have the plugin working
I have the tweet url via the date, no problem. I copied and pasted. I paid attention activating the plugin and restarting nodebb. But no joy :-(.
Any idea ? -
@Frédéric-Coubard Can you try the following:
cd ~/nodebb npm rm nodebb-plugin-twitter cd node_modules ls
Look to make sure the plugin is gone.
git clone https://github.com/a5mith/nodebb-plugin-twitter.git
Reactivate the plugin, restart nodebb. Go back to your live site and refresh your cache. Ctrl + F5.
If it still doesn't work, I'd need to have a look at a live example if you have it so I can debug for you.
But cache and making sure you're on the right version should work.
(Also the official repo has been updated with my changes, shouldn't take long to appear on npm hopefully)
-
-
@a_5mith uninstalled your way and restarted, not better
Here is the topic with my tweet in messages : http://forums.fabriques-alternatives.org/topic/8/serveur-dev-a20-olinuxino (if it works...). Is it possible to not work on my local network but work on the net ?
-
@Frédéric-Coubard I think that is what is happening. It works, just not for you.
Also @julian getting a parse error and
unexpected <
when trying to upload to imgur using the imgur plugin, possibly a regression from the new composer? -
I noticed that as well... @baris?
-
@a_5mith LOL ok thanks lot.
I noticed this also with nodebb-plugin-emoji-extended. -
I am getting a
info: [plugins] Problem executing hook: filter:uploadImage err: {"bytesParsed":12,"code":"HPE_INVALID_STATUS"}
Not sure whats up with that.
-
-
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>