How i can get their fb name and fb id to show up on my game?
How? i want to get their fb but it doesnt show up .. i tried fbname = root.loaderInfo.parameters.fbname
but it doesnt work and it doesnt have the parameter or a variable of fbname?
by jackass026 » February 24th, 2015, 12:40 pm
by Jovanovic984 » February 24th, 2015, 2:17 pm
FB.init({access_token:access_token, app_id:app_id, debug:true});
FB.api("/me", {fields:"name,first_name"}, function (response:*):void {
fulln=(response.name);
ime=(response.first_name);
someTextfield.text="Welcome, "+ime+" !";
});
by jackass026 » February 25th, 2015, 4:51 am
by Jovanovic984 » February 25th, 2015, 8:16 am
by [GD]AlaaNasro » March 10th, 2015, 6:23 pm
by KotaMills » March 10th, 2015, 11:18 pm