Saturday 6 July 2013

Filled Under:

Login with facebook in php

           
   In this post i have discuss about that how to login with Facebook from our site. we can easily put the Facebook login button to our web site using following code. here you can download script free and also download demo absolutely free.









 <h1>Defaults</h1>  
 <fb:login-button onlogin="require('./log').info('onlogin callback')">  
 </fb:login-button>  
 <h1>autologoutlink</h1>  
 <fb:login-button autologoutlink="true"  
          onlogin="require('./log').info('onlogin callback')">  
 </fb:login-button>  
 <h1>Small with Custom Text</h1>  
 <fb:login-button size="small"  
          onlogin="require('./log').info('onlogin callback')">  
  Connect  
 </fb:login-button>  
 <h1>Medium with Custom Text</h1>  
 <fb:login-button size="medium"  
          onlogin="require('./log').info('onlogin callback')">  
  Connect with Facebook  
 </fb:login-button>  
 <h1>Large with Custom Text</h1>  
 <fb:login-button size="large"  
          onlogin="require('./log').info('onlogin callback')">  
  Login with Facebook  
 </fb:login-button>  
 <h1>Extra Large with Custom Text</h1>  
 <fb:login-button size="xlarge"  
          onlogin="require('./log').info('onlogin callback')">  
  Find Friends  
 </fb:login-button>  
 <h1>Favicon Only</h1>  
 <fb:login-button size="icon"  
          onlogin="require('./log').info('onlogin callback')">  
 </fb:login-button>  




0 comments:

Post a Comment