This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Cm_Cache_Backend_File | |
* | |
* The stock Zend_Cache_Backend_File backend has extremely poor performance for | |
* cleaning by tags making it become unusable as the number of cached items | |
* increases. This backend make many changes resulting in a huge performance boost, | |
* especially for tag cleaning. | |
* | |
* This cache backend works by indexing tags in files so that tag operations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$cURLSession = curl_init(); | |
curl_setopt($cURLSession, CURLOPT_URL, sprintf('http://graph.facebook.com/%s', 'XXXXXXXXXXX')); // remplacer XXXXXXXXXXX par l'id de votre page Facebook | |
curl_setopt($cURLSession, CURLOPT_RETURNTRANSFER, 2); | |
curl_setopt($cURLSession, CURLOPT_CONNECTTIMEOUT, 2); | |
$apiResult = curl_exec($cURLSession); | |
curl_close($cURLSession); | |
$apiResult = json_decode($apiResult); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$cURLSession = curl_init(); | |
curl_setopt($cURLSession, CURLOPT_URL, sprintf('http://graph.facebook.com/%s', 'XXXXXXXXXXX')); // remplacer XXXXXXXXXXX par l'id de votre page Facebook | |
curl_setopt($cURLSession, CURLOPT_RETURNTRANSFER, 2); | |
curl_setopt($cURLSession, CURLOPT_CONNECTTIMEOUT, 2); | |
$apiResult = curl_exec($cURLSession); | |
curl_close($cURLSession); | |
$apiResult = json_decode($apiResult); |