Hi,
I’m getting an error when I try to login to parse using twitter account auth data. The registration phase went OK, but the plug-in seems to have an issue with the callback during a subsequent login attempt. This is the code used:
parse.request( parse.User.login ) :options( params ) :response(cb)
Where params contain the twitter auth data. I get an error:
ERROR: Runtime error
16:40:37.353 ?:0: attempt to concatenate a table value
16:40:37.353 stack traceback:
16:40:37.353 ?: in function ‘response’
16:40:37.353 C:\Dev\Mobile\Projects\Dare\src\parseInteg.lua:109: in function ‘userLoginImp’
16:40:37.353 C:\Dev\Mobile\Projects\Dare\src\parseInteg.lua:123: in function ‘userLoginWithTwitter’
If I remove the response line (the last line from the code above), than the error does not show, but I have no way of processing the response. Also the debug info is not writing anything when this line is removed, so I can’t really know if a response was ever received.
If I use a regular register (mail+pass) than all goes well using the same code. Both registration and subsequent logins are going as expected. Perhaps there is some glitch in the code that processes the response from the server when it contains some nested tables?
Appreciate your help.
Regards,
Adi