Welcome Guest, Not a member yet? Register   Sign In
Facebook FBML problem to connect
#1

[eluser]simotho[/eluser]
Hello Guys Smile
I need some help, i am making a facebook app.
But i can't connect a user to my app via. fbml.

I tried with this:

Code:
<fb:login-button autologoutlink="true" ></fb:login-button>

[removed][removed]
[removed]
  FB.init({appId: '131334533555448', status: true, cookie: true, xfbml: true});
  FB.Event.subscribe('auth.sessionChange', function(response) {
    if (response.session) {
      // A user has logged in, and a new cookie has been saved
    [removed].reload(true);
    } else {
      // The user has logged out, and the cookie has been cleared
    }
  });
[removed]

But i get this error:

FBML Error (line 1): illegal event "onlogin" in tag "fb:custom-tag"
FBML Error (line 1): unknown tag "fb:login-button"

I really hope somebody can help me! :-)

(I'm using Elliot's facebook library)




Theme © iAndrew 2016 - Forum software by © MyBB