October 2008
Intermediate to advanced
434 pages
12h 7m
English
I need to tell Facebook to refresh its caches for some of my stored data.
If you’re caching images, use the FBML.refreshImgSrc() method:
$return = $facebook->api_client->fbml_refreshImgSrc
('http://www.someserver.com/images/some_image.jpg');If you’re caching URLs, use the FBML.refreshRefUrl() method:
$return = $facebook->api_client->fbml_refreshRefUrl
('http://www.someserver.com/page.php');This returns true (1) if
Facebook is able to locate an entry in its cache with the url you passed in and can refresh, or false
(0) or blank if it can’t.
Read now
Unlock full access