Now I am handling my application with IAP(Inner Application Purchase) .
I've already succeeded by using the four method to reach my goal. Platform.IAP.GetViewerPurchases(), Platform.IAP.GetProductsBySKU(),Platform.IAP.LaunchCheckoutFlow() , Platform.IAP.ConsumePurchase() .
Now I want to use the S2S REST Requests
for IAP for security. The totorial information on the website is so confused for me.https://developer.oculus.com/documentation/platform/latest/concepts/dg-iap/
$ curl -d "access_token=$USER_ACCESSTOKEN" -d "user_id=$USERID" https://graph.oculus.com/$APPID/verify_entitlement
I have 3 questions for this:
1)How can I put this kind of code to my C# files,or in my Unity project?
2)if there is a way, to write this in C# style to reach the same goal?
3)Does anyone know some examples about how to use S2S request in oculus VR application?