Here is the stack trace for ISSUE #3 - this is thrown in the xcode console when I try to do facebook.login after first having pressed NO in the permissions prompt. You need to end the session when the user cancels or NO’s the prompt…
Generic error
com.facebook.sdk:InvalidOperationException: FBSession: an attempt was made reauthorize permissions on an unopened session
(
0 CoreFoundation 0x2d7e7e9b <redacted> + 154
1 libobjc.A.dylib 0x37e836c7 objc_exception_throw + 38
2 CoreFoundation 0x2d7e7b89 <redacted> + 0
3 QuizPix 0x0009c239 -[FBSession reauthorizeWithPermissions:isRead:behavior:defaultAudience:completionHandler:] + 112
4 QuizPix 0x00099bb3 -[FBSession reauthorizeWithReadPermissions:completionHandler:] + 42
5 QuizPix 0x0003fad7 _ZNK6Corona12IOSFBConnect5LoginEPKcPS2_i + 718
6 QuizPix 0x0004169b _ZN6Corona15FacebookLibrary5loginEP9lua_State + 198
7 QuizPix 0x0010f711 luaD_precall + 988
8 QuizPix 0x0011c11b luaV_execute + 1478
9 QuizPix 0x0010f8e7 luaD_call + 78
10 QuizPix 0x00109329 f_call + 16
11 QuizPix 0x0011ce87 luai_objcttry + 90
12 QuizPix 0x0010fb17 luaD_pcall + 62
13 QuizPix 0x001092fd lua_pcall + 232
14 QuizPix 0x0013352b _ZN3Rtt10LuaContext6DoCallEP9lua_Stateii + 62
15 QuizPix 0x00128b29 _ZNK3Rtt13DisplayObject23DispatchEventWithTargetEP9lua_StateRKNS_6MEventEi + 112
16 QuizPix 0x00128b3f _ZNK3Rtt13DisplayObject13DispatchEventEP9lua_StateRKNS_6MEventE + 14
17 QuizPix 0x0012c951 _ZNK3Rtt8HitEvent15DispatchFocusedEP9lua_StateRNS_7RuntimeERNS_11StageObjectEPNS_13DisplayObjectEb + 224
18 QuizPix 0x0012ce0d _ZNK3Rtt10TouchEvent15DispatchFocusedEP9lua_StateRNS_7RuntimeERNS_11StageObjectEPNS_13DisplayObjectEb + 92
19 QuizPix 0x0012ca63 _ZNK3Rtt8HitEvent8DispatchEP9lua_StateRNS_7RuntimeE + 150
20 QuizPix 0x0012cdaf _ZNK3Rtt10TouchEvent8DispatchEP9lua_StateRNS_7RuntimeE + 70
21 QuizPix 0x001496dd _ZN3Rtt7Runtime13DispatchEventERKNS_6MEventE + 36
22 QuizPix 0x000c467f -[EAGLView touchesEnded:withEvent:] + 314
23 UIKit 0x300f2ea3 <redacted> + 234
24 UIKit 0x300f2ea3 <redacted> + 234
25 UIKit 0x2ffa0425 <redacted> + 528
26 UIKit 0x2ff9b451 <redacted> + 832
27 UIKit 0x2ff70d79 <redacted> + 196
28 UIKit 0x2ff6f569 <redacted> + 7116
29 CoreFoundation 0x2d7b2f1f <redacted> + 14
30 CoreFoundation 0x2d7b23e7 <redacted> + 206
31 CoreFoundation 0x2d7b0bd7 <redacted> + 630
32 CoreFoundation 0x2d71b471 CFRunLoopRunSpecific + 524
33 CoreFoundation 0x2d71b253 CFRunLoopRunInMode + 106
34 GraphicsServices 0x3241c2eb GSEventRunModal + 138
35 UIKit 0x2ffd0845 UIApplicationMain + 1136
36 QuizPix 0x0000e091 main + 100
37 QuizPix 0x0000e028 start + 40
)