How To Insert And Retrieve Postbody In Mirror Api Account Insert Method Using Php
I need to insert user's email in postBody of mirror API insert method. I am using this code: $authtoken=null; $postBody = new Google_Service_Mirror_Account(); $postBody->set
Solution 1:
setAuthTokens
takes an array of Google_Service_Mirror_AuthToken
objects (see the source here), each of which has an authToken
(an arbitrary string of your choosing) and a type
(another arbitrary string). These values are copied directly into the account in the Android AccountManager
so that you can look them on the device.
Your problem might be coming from the fact that you're passing in null
for that right now. I would try fixing that and then see if you're able to see the account on the device.
Post a Comment for "How To Insert And Retrieve Postbody In Mirror Api Account Insert Method Using Php"