A Parse.com Module for Corona SDK

Thanks for the labor, develephant! Everything is working smoothly thus far.

This is a question for anyone:

I have an array-type column on Parse.com. Say, for example, I just want to update the second index in that array. If it’s even possible, how do I do that using mod_parse?

Thanks,

Nathan

I love the parse mod thank for making it. :grinning:

Hey develephant,

What should we expect for mod_parse 2 and do you have a time frame for your beta ?

thank you

Nick

The “login” method will not work on Windows Phone.

With help from Corona member Joshua, found the solution.

You should remove the body and the headers[“Content-Type”] = “application/json”

@undecode:

I have a similar problem (https://forums.coronalabs.com/topic/59820-parsecom-plugin-v2/?p=316963), how did you solve it?

Hi, pretty sure you already read the responde in that thread, but in my case I ended up not using any online service because it’d exceed the “payable” ammount I was aiming for.

In my current project this is a really good option so I’m probably going to use it and attack the session thing again.

Hi, first of all: awsome job Develephant. I remember when you posted this for the first time, but I wasn’t into networking features so I just skipped but knowing there was a feature available if I wanted to try it.

Since a couple of weeks ago I’ve been trying to set up a decent networking structure and managed to have a working LAMP local server (had 0 experience in unix systems). While it was really fun to do, there is a lot of thing to configure, performance to be done, and $$$ to be spend (server/hosting, SSL, etc)

I then remembered about Parse and this module and gave it a try. Had a hard time during the first time, but I blame my inexperience with networking resources (and usually get the idea of how to use a new library). Anyway, after that I understanded a lot more and managed to make a make a good structure.

Now i’m getting into a problem here. Users are being logged in automatically after the first login, this works… but in my parse console there is a session being created everytime i log in the user with this code:

-- i get these from other part user = MYUSER pass = MYPASS local function onLoginUser(event) if not event.error then print("connected") else print("Login error") end end parse:loginUser( { ["username"] = user , ["password"] = pass }, onLoginUser )

Now the question is… since the sessions expire after 1 year of being created, is it OK to generate one everytime an user logins? Where and how whould you use them if not? 

Thanks in advance, and thanks again for the awsome mod

I know your busy with coronium, how is android push coming?

I found this article, It might help with android push

http://www.tech.pink/using-corona-with-parse-for-push-notifications/ 

The “login” method will not work on Windows Phone.

With help from Corona member Joshua, found the solution.

You should remove the body and the headers[“Content-Type”] = “application/json”

@undecode:

I have a similar problem (https://forums.coronalabs.com/topic/59820-parsecom-plugin-v2/?p=316963), how did you solve it?

Hi, pretty sure you already read the responde in that thread, but in my case I ended up not using any online service because it’d exceed the “payable” ammount I was aiming for.

In my current project this is a really good option so I’m probably going to use it and attack the session thing again.