Flex Mobile - Grab user information from id

42 views
Skip to first unread message

Joachim Petersen

unread,
May 12, 2013, 2:11:39 PM5/12/13
to facebook-act...@googlegroups.com
Hello

I can't seem to find out how I can get name from a ID, I only need to find the name from a id, what is the way to do this?

Thank you.

Khaled Garbaya

unread,
May 12, 2013, 2:14:27 PM5/12/13
to facebook-act...@googlegroups.com
you can just do FacebookMobile.api("/me", callback);

function cllback(result:Object, failt:Object) : void
{
    if( result != null)
    {
         trace(result.name);
     }
}



--
You received this message because you are subscribed to the Google Groups "facebook-actionscript-api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to facebook-actionscr...@googlegroups.com.
To post to this group, send email to facebook-act...@googlegroups.com.
Visit this group at http://groups.google.com/group/facebook-actionscript-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
--------------------
Best Regards,
Khaled Garbaya
Senior Interactive Developer

Joachim Petersen

unread,
May 12, 2013, 2:50:18 PM5/12/13
to facebook-act...@googlegroups.com
the ID is most likely a friend ID and not your own.

Khaled Garbaya

unread,
May 12, 2013, 2:52:17 PM5/12/13
to facebook-act...@googlegroups.com, facebook-act...@googlegroups.com
You can replace me by the friend id

Sent from Mailbox for iPhone


--

Joachim Petersen

unread,
May 12, 2013, 3:19:44 PM5/12/13
to facebook-act...@googlegroups.com
Can this be done with a one function code, as I need the result directly.

I have looped through my friends ID, next if the ID is in my database then it will need the name.
Reply all
Reply to author
Forward
0 new messages