When i logged in the first time it worked then after it woulden work at all it only freezes does anyone have this type of problem?
Yes, it happens with our new game, can’t find the solution yet.
Have to say I am not newbie to FB integration, already have a few games with integration that works.
Can you put in some print’s in your code to try and dump some variables to see what’s going on? Look for errors in your console log, etc.
hello i fixed it in my app
so the first time the user presses the login button the app will restart at it will login in at the beginning the login will require 2 facebook.login the first one without permission and in the fblistener after a successful login
(if event.phase==“login”) it will facebook.login again but with the permission u need but just the first time the app login to Facebook
after that each time the app start the app will log in without any permission
but the thing is i can only log in at the beginning of the app after that it will freeze again
If your app is still freezing, you need to look at your console log to see what errors and warnings are printing out. You can add your own print statements in the areas where you think the problem is happening to check your values to make sure they are what you expect them to be. If you don’t know how to look at your device’s console, please read:
http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/
Rob
Yes, it happens with our new game, can’t find the solution yet.
Have to say I am not newbie to FB integration, already have a few games with integration that works.
Can you put in some print’s in your code to try and dump some variables to see what’s going on? Look for errors in your console log, etc.
hello i fixed it in my app
so the first time the user presses the login button the app will restart at it will login in at the beginning the login will require 2 facebook.login the first one without permission and in the fblistener after a successful login
(if event.phase==“login”) it will facebook.login again but with the permission u need but just the first time the app login to Facebook
after that each time the app start the app will log in without any permission
but the thing is i can only log in at the beginning of the app after that it will freeze again
If your app is still freezing, you need to look at your console log to see what errors and warnings are printing out. You can add your own print statements in the areas where you think the problem is happening to check your values to make sure they are what you expect them to be. If you don’t know how to look at your device’s console, please read:
http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/
Rob