开发者

facebook-flash-api getting username without PHP

开发者 https://www.devze.com 2022-12-14 07:28 出处:网络
trying to get the name of the user in Flash (not FLEX) without the PHP. Currently I have the session, the uid. But from here could not move forward towards getting the name.

trying to get the name of the user in Flash (not FLEX) without the PHP. Currently I have the session, the uid. But from here could not move forward towards getting the name.

Would really appreciate if someone could help out.

var fbook:Facebook;
var api_key:String="xxxx";
var secret_key:String="xxxxx";

var fb_session:FacebookSessionUtil=new FacebookSessionUtil(api_key,secret_key,loaderInfo);
var passed_va开发者_JS百科rs:Object;
var fbcall:FacebookCall;
fbook=fb_session.facebook;
passed_vars=root.loaderInfo.parameters;
var uid:Number=Number(passed_vars["fb_sig_user"]);


facebook-flash-api is pretty much a bitch, used python/django to get it on the server side and rendered it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号