i have used this code in my index.php to get user facebook first name last name and userid
var flashvars = {fname:fname, lname:lname, birth_date:birth_date, uid:userId, gender:gender, thumb:picture, app_id:"-1", showWarningMessage:showWarningMessage, localLanguage:localLanguage, chatSession:chatSession,
i have passed this flashvars in my swf like this swfobject.embedSWF("swf/tandoochat.swf?rev=" + REVISION, "swf", "760", "451", "9.0.124", "scripts/swfobject/expressInstall.swf", flashvars, params, attributes, onNoFlash);
}
i want to know how i can use fname and last name in my actionscript ,can anybody give me simple example ,so i can use fname in myactionscript code
If you’re just trying to use the flashvars in Flash, it would look something like:
I’m not sure how this has to do with the FB api…is this what you’re looking for?