how to use Google Drive ‘Save to Drive’ button on your website

Google Drive allows us to save and organize the files (videos, photos, documents etc) in the Google’s cloud and access them anywhere on any device. If you go to drive.google.com you will see list of your files in Google drive. To know more about what Google Drive is, I will recommend watch these introductory videos as I am going to  focus more on its implementation and integration in your apps i.e We will be diving in Google Drive APIs.

Have a look at Introduction to Google Drive API.

Lets start with ‘Save to Drive’ button. It is same like you have seen +1 button on sites. If you are running a photos blog and wants your users to save the photos in their Google Drive. You can create a ‘Save to Drive’ button under each photo and share your photos with them. Following is the code to use on your website.


 

You will see a ‘Save’ button with Drive icon below and this button is generated by using above code. Click on it and see how it behaves 😉

 

If you have some different use of ‘Save to Drive’ button in your mind, please share with us in comments below. We love to hear your thoughts.

Thanks!!


Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798
Posted on Categories Uncategorized

5 thoughts on “how to use Google Drive ‘Save to Drive’ button on your website”


  1. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798
    Khubbaib says:

    Very help and easy way thanks alot for sharing


    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

  2. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798
    Yasir says:

    Dear Adnan Bi Thanks about this post i’ll try this code in my CMS but one thing how i fetch all record of images in Google Drive?
    Thanks.


    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

    1. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

      Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798
      Adnan says:

      @Yasir, You want to fetch all the images from Google Drive on your website ??


      Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

      1. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

        Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798
        Yasir says:

        Thanks adnan Bi yes.


        Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

Leave a Reply
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/testadnan/adnan.pk/innovator/wp-includes/formatting.php on line 4798

Your email address will not be published. Required fields are marked *