there, Is there any possible to use script with Facebook

Hi there,

Is there any possible to use script with Facebook connect? I mean like : <?php echo facebook_connect(); ?>