If you don’t see any response, it may be because an error is being returned by Google. Errors in the script are suppressed now.
If you are familiar with updating the code, you can add a console.log(body) message to see the error.
If you don’t see any response, it may be because an error is being returned by Google. Errors in the script are suppressed now.
If you are familiar with updating the code, you can add a console.log(body) message to see the error.
Awesome! That worked and solved it!
I’ll need to pay around a bit with the sizes in the config (hopefully not the code) to see if I can get the images to display in the screen fully.
For now the images are being cropped as they are larger than the display area on the screen.
Again thank you!
Correct.
The setup is as follows:
When I tried to set up the plugin, I discovered it was failing. I modified the code to print the body to the console and saw the message from the Google Photos API.
The response is:
error:
{ code: 400,
message: ‘The media item is not in the user’s library. It was contributed by another user to a shared album that this user joined to.’
status: ’ INVALID_ARGUMENT’ }
}
If we could get this to work, it would be a nice way to use GooglePhotos act like an online digital photo frame. Anyone with access to the shared album can upload photos.
@sean Thanks!
Another question… If i have an album which I’ve shared, images from that party are not showing up.
Actually, after adding some debugging in the node_helper file, the body (freehanded the response as I don’t have the exact body handy) from the API
Status code: 400
Message: “The media item is not in the user’s library it was contributed by another user to…”
Basically, their was an unhandled exception being thrown where your case statement is for: time, reverse, random.
Any idea how to configure the album to allow the API to pull all images regardless of who uploaded them?
Awesome! Happy to see that this was created as a module.
In your screenshot you have a full screen image, what is the configuration for this? I imagine we would want that div to be behind all the other divs to use the image as a background and the other modules to be displayed over it.
Thanks!
The module was not loading new images. I was thinking to fix that and I have a solution i am testing.
Sounds like @Yurick has a solution for this too. If he pm’s it i can test it and incorporate into the code
@rudibarani Hi - There currently is no intelligence on the images selected. It just processes the list that is returned by the API and starts to randomly display them.
What you are asking for would need to be coded.
@Garrett Not sure if this is actually possible, but may be.
I would need to review the instragram API.
Currently, i was just interested in viewing my own photos when I wrote the module. it was more to meet my needs and then I shared it.
When I have some time, i’ll try to implement some of the requests folks have had.
@zeular You are welcome!
And to be clear, when you say pull from different API, you mean different services? Like Flickr, Instagram, etc?
@zeular I suppose that this could be implemented. The module could be updated to make multiple requests to various sources.
Given my current availability, this would not be something I can do in the near future.