Title: Creating Facebook Login Button Without plugins
Last modified: August 20, 2016

---

# Creating Facebook Login Button Without plugins

 *  [halluzineyt](https://wordpress.org/support/users/halluzineyt/)
 * (@halluzineyt)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/creating-facebook-login-button-without-plugins/)
 * I just dont like any other plugins that will have problems when not updated on
   my site is there a way to create facebook/twitter login without a plugin i have
   seen that this must be placed on my site but i know it must connect with my system
   and my database to show the user anybody has done this on their site can you 
   help us out?
 *     ```
       <div id="fb-root"></div>
             <script>
               window.fbAsyncInit = function() {
                 FB.init({
               appId      : 'XXXXXXXXXXXXX', // App ID
               channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
               status     : true, // check login status
               cookie     : true, // enable cookies to allow the server to access the session
               xfbml      : true  // parse XFBML
             });
           };
           // Load the SDK Asynchronously
           (function(d){
              var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
              if (d.getElementById(id)) {return;}
              js = d.createElement('script'); js.id = id; js.async = true;
              js.src = "//connect.facebook.net/en_US/all.js";
              ref.parentNode.insertBefore(js, ref);
            }(document));
         </script>
   
         <div class="fb-login-button">Login with Facebook</div>
       ```
   

The topic ‘Creating Facebook Login Button Without plugins’ is closed to new replies.

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)
 * [no plugin](https://wordpress.org/support/topic-tag/no-plugin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [halluzineyt](https://wordpress.org/support/users/halluzineyt/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/creating-facebook-login-button-without-plugins/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
