Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

Parse REST integration

Yep. I included the parse.js library---it works for other functions just fine (Adding objects, etc.) but the push function doesn't work from Tiggzi.

Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

Parse REST integration

Hey Max-
I am able to get it to work in the old editor (flash based), but still not in the HTML5 editor. Any ideas. I included a screenshot of the configuration that works just fine.... Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Parse REST integration

In the new builder, have you tried:

return "{'alert':'test'}"?

Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

Parse REST integration

Yes. I think i've tried everything haha.

Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

Parse REST integration

unfortunately when i configure it in the old editor--it doesn't transfer to the new editor.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Parse REST integration

Launch the app from the old builder, then using Chrome Dev. Tools see the exact request that's being sent. The compare it to the request that's being sent when you define the array in JavaScript in the new builder.

Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

Parse REST integration

Here is the payload that worked: null /134


 Oflex.messaging.messages.RemotingMessage
source operation body messageId timestamp clientId headers destination timeToLive testConnection 9https://api.parse.com/1/push post json 0 {X-Parse-Application-Id=f05Kc5hfvH5kFQr7jcgElQC9msrgdowczIhkCAPN&X-Parse-REST-API-Key=OINnIo6X6kVKQcE66S4rdO2g0GZmlgvbDXuzjaVO „U

IE39D3982-7E06-EE28-B86F-A20238F3D466 I9685C2DE-2409-D852-E1AE-558F6183BAC3
DSId I967FC8BC-461A-8AAB-D3D5-119305246AE7 DSEndpoint seam-amf 'restServiceEndpoint

Nathan Kahl
Posts: 0
Joined: Tue Nov 20, 2012 4:03 am

Parse REST integration

This is the message from the HTML5 editor:

uri:https://api.parse.com/1/push
method:post
serviceDataType:json
contentType:json
securityContext:0
serviceSettings:0
headerParams:X-Parse-Application-Id=f05Kc5hfvH5kFQr7jcgElQC9msrgdowczIhkCAPN&X-Parse-REST-API-Key=OINnIo6X6kVKQcE66S4rdO2g0GZmlgvbDXuzjaVO
serviceParams:
Response Headersview source

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Parse REST integration

I think you are looking at the request when testing from the builder. Run the app in the browser, and then see what the request is. Don't debug what's happening in the builder.

egonzalez
Posts: 0
Joined: Fri Sep 14, 2012 9:34 pm

Parse REST integration

Nathan,
Were you able to get the Parse Push Notifications to work from your Tiggzi App?
If yes, then I would love to know what steps you took.
Thanks,
Eric

Return to “Issues”