I tried to test playfab api loginwithkongregate and it says the following error in my console "BadRequest -- The requested feature has not been enabled for this title."
here is my code to the login
function playfabLogIn()
{
var x = {};
x.KongregateId = $rootScope.pfcid;
x.AuthTicket = $rootScope.pfat;
x.TitleId = $rootScope.pfid;
PlayFabClientSDK.LoginWithKongregate(x, (response, error) => {
if(error)
{
console.log(error.status + " -- " +error.errorMessage);
$rootScope.loginSuccess = false;
}
else
{
var result = response.data;
$rootScope.loginSuccess = true;
}
});
}
I did check the kongregate ID and authentication ticket from kong using console.log and it's there and good but when it comes down to the log in it fails and displays that error. what am I missing? or is there anything wrong with my code?