Martin Tod
Forum Replies Created
-
The changes to Twitter mean that the section that calls off data is going to need to be rewritten.
I’m planning to take out the necessary $100/month subscription (just to test it!) and give it a go.
It will – although it will require me to sign up for a $100 month subscription just to test it – at least as far as I can see!
Hi Ben,
I’m going to bite the bullet and sign-up for a $100/month developer subscription to get this working with v2 of the API.
Whether and how that will work to enable wider deployment will be one of the things I try to discover. It may be that an individual developer or website owner needs their own subscription.
Martin
Interesting. Maybe it’s the ongoing flakiness of Twitter? Or maybe your upgraded tokens have made the difference?
I’m still getting this:
<!-- Twitter error: 32 - Could not authenticate you. -->I have the same issue. Let me experiment.
Rotating Tweets may be a victim of the new chargeable model of access to Twitter APIs
It’s still working for me, despite not having paid anything yet – although not entirely clear why…!
I have formally applied to be a developer, and that’s possibly enough…- This reply was modified 3 years, 2 months ago by Martin Tod.
Aha! I closed and reopened the browser and got the same thing.
As far as I can tell, the pbs.twimg.com link to the icon is blocked as a tracking cookie.
Since it’s valid HTML, I’m not sure what we can do. I don’t think I could add default image caching to the plug-in – it would need to be opt in.
Martin
Is that because of the way one of the tweets in the extended list is displaying?
Does it help if you use the https:// link?
I can’t replicate this in Edge – and I can’t find a similar setting in Chrome. Which browser are you using?
Not currently.
I agree this would be a useful update! I’ll see what I can do…
offset=0is the default value, so it shouldn’t have any effect in that case.What are you expecting to see that you’re not seeing?
Forum: Plugins
In reply to: [OSM - OpenStreetMap] Issue with Download ManagerFrom the description, it sounds like it’s the same problem as when Rotating Tweets ‘breaks’ Download Manager (although, in practice, Download Manager is breaking itself).
The issue is that jQuery is being loaded twice on the pop-up iFrame generated by Download Manager – once by Download Manager (as far as I can tell – via hard-coding – which is generally not a good idea) and once by Rotating Tweets (which uses the ‘official’ WordPress
wp_enqueue_scriptmethod for displaying jQuery and is triggered via awp_footer()call).There are three ways to fix this that I can think of:
- Download Manager loads jQuery and other scripts into the iFrame using the standard WordPress methods, ie.
wp_enqueue_script() - Download Manager removes the 2nd loading of jQuery from the footer on iFrame pages – by adding something like this (though only on the pages where the jQuery load is hard-coded – or they’ll break loads of other plug-ins):
function wpdm_dequeue_jquery() { wp_dequeue_script( 'jquery' ); } add_action( 'wp_enqueue_scripts', 'wpdm_dequeue_jquery', 100 );It may take a bit of experimentation to get the
add_action()setting right. - Rotating Tweets detects that Download Manager is present and that it’s on a Download Manager iFrame and decides not to load jQuery (which is doable – but the other two methods will ensure that Download Manager plays nicely with loads of other plug-ins, not just Rotating Tweets).
Rotating Tweets uses jQuery to rotate – and it’s still rotating – and jQuery is still in the HTML, so jQuery is not removed and it doesn’t look broken not broken.
The error message in the console when I click on a download link is:
Uncaught TypeError: jQuery(...).modal is not a function at showModal (?__wpdmlo=652:342) at HTMLDocument.<anonymous> (?__wpdmlo=652:338) at i (jquery.js:2) at Object.fireWith [as resolveWith] (jquery.js:2) at Function.ready (jquery.js:2) at HTMLDocument.J (jquery.js:2)I’ll see if I can see what’s causing it.
That’s intriguing. I’ll see what I can manage.
Could you copy what you’re seeing in the console into a reply?