October 2008
Intermediate to advanced
434 pages
12h 7m
English
I want to put some FBML into Facebook’s cache so that I can use it in a whole bunch of user Profiles.
Use the FBML.setRefHandle() method:
$return = $facebook->api_client->fbml_setRefHandle('myHandle','FBML goes here');This will associate the handle you pass as the first parameter with
the FBML content that you pass in the second one. You can then pull
this content at any time using the fb:ref FBML tag (see FBML Caching for more info).
This can be used only by web-based Facebook apps. Desktop apps are out of luck on this one.
Read now
Unlock full access