I almost never used Mako, but if you can include arbitrary Python code, you can always enable the template rendering function.
<%
tpl = """{% load facebook_tags %}{% facebook_button %}{% facebook_js %}"""
from django.template import Template, Context
t = Template(tpl)
t.render(Context())
%>