• I want to integrate Google Drive API with my site, and the Google documentation here is very poor considering PHP language, and it didn’t mention at all integrating it with WordPress, the feature I’m trying to achieve is getting a Google Drive folder ID by providing it’s path and my account credentials/id and I believe integrating the drive API would be of so much help in that case, here’s a shortcode example of what I’m trying to reach
    [gdrive path="/path/to/my/folder"]
    and it simply outputs my google drive folder ID

    • This topic was modified 4 years, 6 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Tyler

    (@tylerthedude)

    Hi there,

    To achieve this, I’d first recommend turning your project into a plugin to avoid potentially modifying WordPress Core files. Once it’s thought of as a plugin, then you can begin adding your necessary files with respect to the WordPress Plugin Handbook. You’ll want to have your vendor directory to hold the Google API client along with your other Composer files.

    To achieve the shortcode result, you’ll want to refer to the shortcode documentation here.

    Regards,
    Tyler

Viewing 1 replies (of 1 total)
  • The topic ‘Google Drive API (Or Google Client PHP API Library) Integration’ is closed to new replies.