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);