jsonDerulo and Twitter

Is jsonDerulo still working with Twitter? (and MODX 2.7.0)
https://modx.com/extras/package/jsonderulo

I always get “No tweets returned.” message

Update :
My MODX cache_handler setting is on xPDOMemCached, and when I go back to xPDOFileCache, jsonDeroulo works.

Update 2 :
I have enabled again xPDOMemCached in MODX settings.
To force jsonDerulo to work with xPDOFileCache, I added :

– in // Generic options and var init
// xmod : added, define cache to use : works
$cacheOptions = array(
xPDO::OPT_CACHE_KEY => ‘xJsonDerulo’,
xPDO::OPT_CACHE_HANDLER => ‘cache.xPDOFileCache’,
);

in Twitter section, added $cacheOptions
if (($json = $modx->cacheManager->get($cacheId,$cacheOptions)) === null) {

and :
$modx->cacheManager->set($cacheId, $json, $cacheTime,$cacheOptions);

I have it working on a website.
What version of JSONDerulo are you using and what’s your snippet call?

The probleme was the caching method (xPDOMemCached) that seems to disturb jsonDerulo.

I added some code to force jsonDerulo to use the xPDOFileCache instead xPDOMemCached as cache handler.

But I don’t understand the reason.

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.