How to manually edit the link to share in google drive or google photos - google-drive-android-api

When the photos are uploaded in Google drive or Google photos and shared to others, the link will be ​https://docs.google.com/xyz. However is there anyway to convert this into meaningful link like Link to Presentation 2017 ??

This option is currently not available for Google Drive or Google Photos.
Some good references:
How to change / modify shareable Google Drive link? (which mentions the same, option is currently not available)
Is it possible to have clean URLs for Google Drive items? (accepted answer discusses why the URLs should stay as they are)

Related

What's the best way to use the Google Photos API with Colab?

I'd like to create photo albums with Google Photo and then use the album as an image source. I've searched around and found some examples of using python with Google Photos API, but this doesn't appear to be used much or at all.
Is there a best practice for getting photo albums into Google Colab? Is it possible that performance is an issue so other options would be better?
According to this page, you can configure Google Photos to appear in your Drive file list.
Once you've done that, the files should appear in Colab's file browser once you mount Drive as described here: https://stackoverflow.com/a/47019779/8841057

How to tag names on google photos?

I have downloaded the google photos. And I've uploaded more than 6,000 personal photos. But I find it hard to tag person names?
Where can I tag persons' names so that I can search them?
I've seen the google I/O and the speaker show that Google-Photos can recognize his daughter. But I can't even tag nor search a person's name.
However I know that I can upload photos to Google+ so that I can tag them. But it sounds crazy to share all my 6000+ photos to Google Plus.
What should I to to reach the same effect on the Google I/O.(Make all my photos searchable?)
Well, I got it.
The only reason is that face detecting is not available out side the US.(I am from China)
To solve this,just use VPN the first time you start the APP.
(On Android clear app data & On iOS re-install it)

Is there a way to download Google Plus photos from the command line?

I have a large number of photo albums on Google Plus. I am looking for an efficient way to download them. Had I put them on Google Drive, I could have used skicka, which has a few annoyances but overall works very well.
I'm looking for a similar command-line style interface that will allow me to download an album at a time in a more scriptable way than just going through and clicking all the links in Google Plus.
Does anyone know if a tool like this exists? If I could make my Google Plus photos appear in Google Drive this wouldn't be a problem, but unfortunately that doesn't appear to be possible.
You can change a setting in Goggle Drive and still use skicka (as you suggested initially) to access the photos then.
How Google Drive works with Google Photos covers two interesting aspects:
View your Google Drive photos & videos in Google Photos
...
Organize your photos & videos into Google Drive folders
The 3rd section provides clear hints about how to make Google Photos appear inside My Drive as a folder. (The 2nd section is also supposed to describe this, but it's not useful for the automation we are looking for.)
Namely:
Go to .
Turn on the setting that creates a Google Photos folder in your "My Drive" folder (if you already turned this setting on, you can skip
this step).
On the right, click the "gear" icon > Settings.
Next to
"Automatically put your Google Photos into a folder in My Drive,"
check the box and then Done.
After this there is indeed such a folder in My Drive, and it accessible through skicka as well:
$ skicka ls /'Google Photos'/
shows all the photos. (And they must be downloadable, of course.)
(BTW, that's your question where I learned about skicka from, thanks a lot! Now I'm using it to upload directories with folders into Google Drive and Google Photos. It's a pity that the problem of creating albums with a tool or via Google Drive remains unsolved.)
Use Google Takeout to download them all at once. Just pick Google Photos and uncheck anything else that's there. I don't know of any other way to batch download them all.

Is it possible to link Google Drive and Google Plus?

Is there any API that can link Google Drive and Google Plus - to simplify the question, is it allowed for any circle member to see someone's files shared in Google Plus without any explicit uploader consents?
Also, when profile (such as about me) changes, does this change get shown to others without others entering someone's profile?
It depends on who you are sharing changes with, specifically which circles. From the faq regarding sharing Google drive documents:
Select a circle or type the name of individual people you'd like to share your post with.
A profile change is not broadcast to users (as far as I can tell), nor does it ask you to share.

Fetching owner-uploaded or user-uploaded photos from Google Maps

I would like to fetch user-uploaded or owner-uploaded photos of locations using some Google API.
For example:
In this place: http://g.co/maps/pxbse , you can see an owner-uploaded photo of this place in the place's popup window on the map. Additionally, if you click on this photo, you'll be taken to a more detailed page about this place where you can see a list of photos uploaded either by the owner or other google users.
Is there any way to fetch these photos by using the Google Maps API?
(Please note: I have checked out Panoramio and Google Street View API and these do not suit my needs)
There is no way to get that photo at this point. The Google Places API does not support retrieving the photo.
What you're looking at is a Google Place. You would access this data using the Google Places API.
Update: You're right. The API mentions an icon URL that's included in a place details response, but doesn't seem to indicate all the owner uploaded images.
What I recommend is attending the Google Maps API office hours on May 1, 2012 at 13:00 Pacific Time. There is a Google Moderator set up to post questions before hand. You can attend the hangout using Google Plus (make sure to follow +Google Maps API) or they stream them to YouTube live.