I use prime 31 combo for fb integration, i can able to login but i don’t know how to fetch user id / username from the account after i login . Kindly help me …! thanks.
i use c# code :
if (GUI.Button(100,100,100,50),“LOGIN”)
{
Facebook.init();
Facebook.login();
/After this i want to get the userid/user name and login status/
There is a script making the call and receiving the response with delegates i believe.
I had to get it from inside the scripts iterating trough some request or something.
I dont have that project anymore i fear i cant not help you more.
Maybe you can debug it with Mono and breakpoints and follow the flow.
Best Regards,
Diego
Edit:
@Swaminathan You need to debug where are you receiving the Graph, token, sessionValid, etc, its a common coding practice but i know how hard is that plugin.
This is a response from Prime31: “first fetch the userID by calling the “me” Graph API call.”