Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Able to authorize Google Photos in order to make them visible on my site #12

Closed
AmrataRamchandani opened this issue Apr 24, 2017 · 0 comments

Comments

@AmrataRamchandani
Copy link

AmrataRamchandani commented Apr 24, 2017

nanogp_authorize_issue
I tried authorizing my Google account,but it is unsuccessful.
Above attached is the screenshot for the same.

Steps I followed in order to authorize

  1. created folder named nanogp
  2. copied the contents of dist folder into nanogp folder
  3. basically,i followed every step written in this link.
    https://github.com/nanostudio-org/nanogp
  4. wrote client id as well secret key in the config file too.

Here is the final code which I am using in order to view the photos

<html>
  <head>
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <link href="https://unpkg.com/nanogallery2/dist/css/nanogallery2.min.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="https://unpkg.com/nanogallery2/dist/jquery.nanogallery2.min.js"></script>
 </head>
  <body>
    <h1>Gallery made with nanogallery2</h1>
    <div data-nanogallery2='{
        "userID": "116522599969308009124",
        "kind": "google2",
 "google2URL": "http://lyrics.ultimatefreehost.in/nanogp/nanogp.php",
        "thumbnailWidth": "auto",
        "thumbnailDisplayInterval": 30,
        "galleryFilterTags": true
      }'>
    </div>    
  </body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant