Link to home
Start Free TrialLog in
Avatar of Kin Fat SZE
Kin Fat SZEFlag for Hong Kong

asked on

facebook api login permission scope : user_likes

Hi,
I don't understand why I using two method are can't get user_likes information?

<fb:login-button scope="user_likes,public_profile,email" onlogin="checkLoginState();">
</fb:login-button>

     FB.login(function(response) {
         if (response.status === 'connected') {
                  statusChangeCallback(response);
                  // Logged into your app and Facebook.
              } else if (response.status === 'not_authorized') {
                  statusChangeCallback(response);
                  // The person is logged into Facebook, but not your app.
              } else {
                  statusChangeCallback(response);
                  // The person is not logged into Facebook, so we're not sure if
                  // they are logged into this app or not.
              }
      }, {scope:'email , user_likes '});

fb.png
ASKER CERTIFIED SOLUTION
Avatar of Kyle Hamilton
Kyle Hamilton
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial