lol i get a blank page :(
<script src="http://static.ak.fbcdn.net/connect/en_US/core.js"></script> <script> FB.init({ apiKey: 'myapikey' }); </script> <div class="fb_button" id="fb-login"> <a href="#" class="fb_button_medium"> <span id="fb_login_text" class="fb_button_text">Connect with Facebook</span> </a> </div> <script> document.getElementById('fb-login'). alt= function() { FB.login(function(response) { if (response.session) { document.getElementById('fb-login').innerHTML = "<span id='fb_login_text' class='fb_button_text'>Logout</span>"; } else { document.getElementById('fb-login').innerHTML = "<span id='fb_login_text' class='fb_button_text'>Connect with Facebook</span>"; } }); }; </script>
return $sFormCode . $sJoinText;
what do i need to wrap this in as i am still quite a noob
that will never work...
are you trying to use the login script from facebook developers page? you will not get that to work, if your not a programmer,
the connect button is not that simple, you will have to purchase a module, 10 bucks for one is well worth the money for the time you have already invested...