So.... this mod works perfectly for what it does. I can signup as a new user, all my posts/replies get put on my facebook. I really like it. Unfortunately I'm having a hard time integrating some other things that FB suggests in
http://wiki.developers.facebook.com/...od_Connect_App.
I've tried to implement the status by changing the onDOMReady function to
Code:
if(FB.Connect.get_status().result == 1) //If you're connected
{
elements[i].innerHTML = '<a href="#" onclick="facebook_requestSession(); return false;"><img id="fb_login_image" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" border="0" alt="Connect"/></a>';
}
else
{
elements[i].innerHTML = '<img id="fb_login_image" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_small_short.gif" border="0" alt="Connect"/><span style="padding-bottom: 3px">You are Connected to Facebook</a>';
}
Unfortunately, with this, I'm having trouble making sure users who are connected to their facebook accounts also get logged in there, when the log in, normally.