Anybody use Parse (Facebook product) with LC yet?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 21
- Joined: Wed Apr 18, 2012 9:32 pm
Anybody use Parse (Facebook product) with LC yet?
Have anybody use Parse a Facebbok product) that offer cloud services(users management,data and notification) with LiveCode Commercial version 6.2 yet.
If so Please give me your opinion on the services and how it integrate, maybe as a REST service, with LC.
Merci
Jean Guilbault
If so Please give me your opinion on the services and how it integrate, maybe as a REST service, with LC.
Merci
Jean Guilbault
Re: Anybody use Parse (Facebook product) with LC yet?
Hi Jean,
I will be going over using REST to send and receive data from Parse in next weeks lesson
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
—
I will be going over using REST to send and receive data from Parse in next weeks lesson

Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
—
-
- VIP Livecode Opensource Backer
- Posts: 21
- Joined: Wed Apr 18, 2012 9:32 pm
Re: Anybody use Parse (Facebook product) with LC yet?
Bonjour Neil,
That's great, I'm looking forward to your upcoming informations on using Parse.
I already have two On-Rev Server accounts that I basically use for design purposes.
In November we will be lunching an app that users push a status to a server some 20 times a day,
and query back the same number of times the server to receive an updated status.
In an incredible twist of fate, anticipated results from our marketing effort, we project that the user count may hit more then 100,000 daily user
in six month, (I know your thinking we will hit 1,000 at most....)
I'm looking at Parse because I dont have any idea of what number of simultanous user queries the On-Rev Servers can support,
or how they can support a growing demand.
Do you have a lot of customer user the On-Rev Servers that have a sizeable users daily operations, or heavy load demands ?
If those question should have been posted elsewhere. please let me know and I will do so.
Merci
Jean Guilbault
That's great, I'm looking forward to your upcoming informations on using Parse.
I already have two On-Rev Server accounts that I basically use for design purposes.
In November we will be lunching an app that users push a status to a server some 20 times a day,
and query back the same number of times the server to receive an updated status.
In an incredible twist of fate, anticipated results from our marketing effort, we project that the user count may hit more then 100,000 daily user
in six month, (I know your thinking we will hit 1,000 at most....)
I'm looking at Parse because I dont have any idea of what number of simultanous user queries the On-Rev Servers can support,
or how they can support a growing demand.
Do you have a lot of customer user the On-Rev Servers that have a sizeable users daily operations, or heavy load demands ?
If those question should have been posted elsewhere. please let me know and I will do so.
Merci
Jean Guilbault
-
- VIP Livecode Opensource Backer
- Posts: 21
- Joined: Wed Apr 18, 2012 9:32 pm
Re: Anybody use Parse (Facebook product) with LC yet?
Merci Neil for a great introduction to using Parse with LiveCode.
I really appreciate that you took the time to build an example stack and commented on it functionalities.
I'll be, I'm sure as others will be..., testing that in the upcoming hours.
Again, Merci a lot.
Jean Guilbault
I really appreciate that you took the time to build an example stack and commented on it functionalities.
I'll be, I'm sure as others will be..., testing that in the upcoming hours.
Again, Merci a lot.
Jean Guilbault
-
- VIP Livecode Opensource Backer
- Posts: 21
- Joined: Wed Apr 18, 2012 9:32 pm
Re: Anybody use Parse (Facebook product) with LC yet?
Bonsoir Neil.
I tested your code on iPhone/iPad and Android hardware, and everything worked fine.
To do so I used your Parse login, and created maybe 6 new records.
I will from now on use my own Parse account as not to disrupt your Parse account.
I think you should post publicly the Parse Example stack.
Your fast response to my Parse question will enable us to finish our beta test of
our new app for the end of August. That will enable us to use our two On-Rev servers accounts
to other services we have planned around this new app.
That by itself, made the price of the Summer School #2 really worth it.
Again,
Merci for your collaboration
Jean Guilbault
I tested your code on iPhone/iPad and Android hardware, and everything worked fine.
To do so I used your Parse login, and created maybe 6 new records.
I will from now on use my own Parse account as not to disrupt your Parse account.
I think you should post publicly the Parse Example stack.
Your fast response to my Parse question will enable us to finish our beta test of
our new app for the end of August. That will enable us to use our two On-Rev servers accounts
to other services we have planned around this new app.
That by itself, made the price of the Summer School #2 really worth it.
Again,
Merci for your collaboration
Jean Guilbault
Re: Anybody use Parse (Facebook product) with LC yet?
Hey there, I've been having fun with Parse, primarily using it to help figure out how to make it more challenging without being impossible. So I've been using the below to post scores and difficulties to Parse.
Code: Select all
on postParseData pName, pScore, pGen, pDiff
---Fill in these lines:
put "RLMoz3jtzgVFJci6qzqTqKQhjHesqzqneSqxqNge" into appID
put "HdJGblWk77hHgtFL0qzqk81pqzqeDyH4OJgqzqXS" into apiKEY
put "scores" into apiClass
put 4 into numberKeys
put "User" into postArray["1"]["key"]
put "Score" into postArray["2"]["key"]
put "APT" into postArray["3"]["key"]
put "Difficulty" into postArray["4"]["key"]
put pName into postArray["1"]["value"]
put pScore into postArray["2"]["value"]
put pGen into postArray["3"]["value"]
put pDiff into postArray["4"]["value"]
---Creates POST statement:
put ("{""e) into tPost
repeat with xx = 1 to numberKeys
put postArray[xx]["key"] into theKey
put postArray[xx]["value"] into theValue
put theKey"e&colon"e&theValue after tPost
if xx < numberKeys then put quote&comma"e after tPost
end repeat
put (quote&"}") after tPost
---Sets the Headers, creates the URL and POSTs the data
set the httpHeaders to "X-Parse-Application-Id:" && appID & return & "X-Parse-REST-API-Key:" && apiKEY & return & "Content-Type: application/json"
put ("https://api.parse.com/1/classes/"&apiClass) into tParseURL
post tPost to url tParseURL
end postParseData
Greg (pink) Miller
MadPink, LLC
I'm Mad, Pink and Dangerous to Know
MadPink, LLC
I'm Mad, Pink and Dangerous to Know
Re: Anybody use Parse (Facebook product) with LC yet?
Hi, where can I find those lessons?runrevneil wrote:Hi Jean,
I will be going over using REST to send and receive data from Parse in next weeks lesson
Kind Regards,
Neil Roger
--
LiveCode Support Team ~
—

I would be very grateful.

Thanks
Re: Anybody use Parse (Facebook product) with LC yet?
So, no one is going to help me... Can somebody tell me where I can find what I need? 

-
- VIP Livecode Opensource Backer
- Posts: 21
- Joined: Wed Apr 18, 2012 9:32 pm
Re: Anybody use Parse (Facebook product) with LC yet?
It may be as simple to ask Neil Roger for the code example.
It was part of a presentation he made to answer one of my questions I made during the Summer School 2014 live presentation.
Bonne journée
Jean Guilbault
It was part of a presentation he made to answer one of my questions I made during the Summer School 2014 live presentation.
Bonne journée
Jean Guilbault
Re: Anybody use Parse (Facebook product) with LC yet?
The lesson that was being referred to was a part of "Summer School 2," so it isn't available outright.pedrorp wrote:So, no one is going to help me... Can somebody tell me where I can find what I need?
If you give us an idea as to what you might want to do, maybe we can help you.
Greg (pink) Miller
MadPink, LLC
I'm Mad, Pink and Dangerous to Know
MadPink, LLC
I'm Mad, Pink and Dangerous to Know