Hey all! I have properly connected my app to Facebook, but I am struggling with the best syntax and order of execution to do the following:
-
prompt user to login if not logged in after scene loads
-
get logged in user’s id
-
get list of friends and save their ID’s in a table (I know this only shows users logged in to the app, right?)
-
button that allows user to “invite” friends to the game via facebook popup
-
button that allows user to “logout” or disconnect from facebook
I think I’m getting my login, request, etc. and listeners mixed up because things don’t seem to be working very well. Any help or advice on how to most efficiently accomplish this? I must be making it more difficult than it really is, so I’m sure we’d all appreciate a simple example to accomplish the above items
Thanks!!!