Page 1 of 1

Refresh URL Facebook

Posted: 25 Jul 2016, 21:21
by xswer
Hi

It is possible to refresh Facebook Albums from the frontend? I found this URL for refresh the FB Albums. How i can make a button for refresh in frontend?

Code: Select all

$refreshUrl	= 'index.php?option=com_phocagallery&task=phocagalleryc.loadextimgpgnfb&id='.$idCat.'&fbalbum='.$data['extfbcatid'].'&fbuser='.$data['extfbuid'].'&fblang='.$data['language'].'&fbafter='.$fbAfter .'&fbcount='.$fbCount.'&'. JSession::getFormToken().'=1';
Or it is a possibility to refresh one times every day?

Thanks you for the answer

Best Regards and a nice day

Xswer

Re: Refresh URL Facebook

Posted: 26 Jul 2016, 23:31
by Jan
Hi, to refresh it e.g. one time per day, you need to run some cron or similar program on your server which does it.

There is no frontend feature to import image information from Facebook. Importing can take a lot of time so when it will be abused it can slow down the server, this is why it is run on administration. :idea:

Jan