问题
Is there some way to embed JavaScript or PHP code in static FBML on Facebook?
回答1:
You can use FBJS in FBML, and you certainly can use PHP to generate FBML and FBJS if you so choose.
But that's only for applications and application tabs.
Static FBML like for FBML Boxes and such - you cannot.
来源:https://stackoverflow.com/questions/3213103/is-it-possible-to-use-javascript-or-php-in-static-fbml