I require a PHP script that uses the Google Drive API to do the following:
1. Connect to a google drive account and authenticate.
2. Upload a file (the file name will be specified within a string in the PHP script - a .doc file).
3. Update the file so that the following properties are set:
revisions.published = true
revisions.publishAuto = true
revisions.publishedOutsideDomain = true
4. place revisions.publishedLink into a string.
5. Check to see if the revisions.publishedLink link is valid.
Please PM me explaining if you have used the google API before.
I will provide the sample upload file and a the Google Drive login details.