Hello,
this might be of interest for others but needs verification. I was trying to run the "parseCom" example. Got everything set-up on Parse.com but every time, when I run "populates", it would return me a 401 error. Double and triple checked all Id's but couldn't find anything. **sight**
After a while I decided to step through the code from the beginning and discovered that "firstTimeParseCom" writes the app id and the restapikey in the wrong sequence to the registry.
In "getRegistryPackage" I got this string: {"scopeEntry":"rest","authFlavor":"parse","restAPIKey":"Value of application id","applicationID":"Value of rest api key"}
Private Function encrypt(s As String) As String
encrypt = s
End Function
Original:
Private Sub firstTimeParseCom()
Dim parseCom As cParseCom
Set parseCom = New cParseCom
With parseCom.init("colortable", , , "your app id", "your restapikey")
.tearDown
End With
End Sub
My change:
Private Sub firstTimeParseCom()
Dim parseCom As cParseCom
Set parseCom = New cParseCom
With parseCom.init("colortable", , , "your restapikey", "your app id")
.tearDown
End With
End Sub
After switching the app id and the rest api key, the data arrived at parse.com. Happy day! G.