jonagh / gapi-querier Goto Github PK
View Code? Open in Web Editor NEWTool for running Google APIs, and to play with google auth and stuff.
License: GNU General Public License v3.0
Tool for running Google APIs, and to play with google auth and stuff.
License: GNU General Public License v3.0
I have pulled in your fix to #1 into my fork. Ran it on my photos account, and ran into an error inside the storeMediaItems function. Turns out that the passed-in argument of mediaItems is non-null at several points in execution, but at some point, mediaItems becomes null.
I have added some debugging code into my fork to see this in the console. Last commit is:
(don't pull that into your repo, this is just for demo purposes).
The output I see at the end (not expanding the array in the console as it has too much info): console
Could you add some error checking? I don't know if just having that function do nothing (ignore the null value), as I'm not sure about the intent there.
I followed the steps and trying to connect through https://jonagh.github.io/gapi-querier/ but getting below error?
Error 403: access_denied
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer
Hi,
could you please add a LICENSE file to the repo?
Thanks :)
This project has been very useful to me, but I haven't found any way of giving back.
Hi Jonagh,
Sorry, maybe it's me, but I couldn't follow the instructions on the readme page for the GAPI-Querier (aka find out-of-album photos) API. Perhaps Google has changed the way they organise things or changed their GUI. Could you confirm whether these instructions are accurate or please update them so they can be followed. I'm really keen to try this API out
Thanks
C
It would be much better to create another album that accumulates all photos you need to sort/remove.
Solution: add command that creates an album and fills it with photos
Pros:
Need to either check permissions on load or on run, and request access if needed.
Hi,
I'm the original poster of the SE question: https://webapps.stackexchange.com/questions/82693/how-can-i-view-google-photos-that-are-not-in-a-google-photos-album and saw your answer at https://webapps.stackexchange.com/a/125617/14529
Encouraged, I wanted to give it a spin. So, I forked your gapi-querier repo, made no changes to it in my fork, and followed the directions to the letter. I am now able to see the website at https://bgoodr.github.io/gapi-querier/.
Copying/pasting my Client ID into that field and hitting enter did not show anything. So I opened up Web Developer/Console (I'm using Firefox version 65.0) and saw:
SyntaxError: dynamic module import is not implemented commands.js:3:44
I cleared the web console output, and reloaded the page, and the above error reproduced. So, it is not due to OAUTH authorization yet, but due to javascript syntax.
I retried it under Google Chrome (Version 72.0.3626.109 (Official Build) (64-bit)), and it worked (I did have to force it to authorize as for some reason my app was not authorized). So something is not being adequately supported in Firefox 65 I think, or maybe Google Chrome is a bit lax?
Looking at the code I do see an import statement at https://github.com/jonagh/gapi-querier/blob/master/commands.js#L3
So I searched for that error on the web, I found https://stackoverflow.com/a/46415925/257924 which leads me further to to believe that the syntax there might still be not treated identically between Firefox and Chrome. I did notice that you do have a directive to declare “main.js” as a module at https://github.com/jonagh/gapi-querier/blob/master/index.html#L47 , but maybe Firefox insists that you also declare “commands.js” as a module too?
I really would love to see this working under Firefox. I don’t use Chrome, and it would be painful for me to switch to it.
Thanks,
bgoodr
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.