picasa

How to read Drive Photos using Drive Rest API

我怕爱的太早我们不能终老 提交于 2021-02-18 15:35:23
问题 I'm trying to read Google Photos using Drive REST API inside Google Apps Script. The code looks like this: function myFunction() { var files = Drive.Files.list({ maxResults: 10, spaces: 'photos' }); for (var i = 0; i < files.items.length; i++) { var f = files.items[i]; Logger.log(f.title); } } But if I run this function Google shows error "The granted scopes do not give access to all of the requested spaces. (line 2, file "Code")" Page with error Project properties contain scope "https://www

How to read Drive Photos using Drive Rest API

ⅰ亾dé卋堺 提交于 2021-02-18 15:35:04
问题 I'm trying to read Google Photos using Drive REST API inside Google Apps Script. The code looks like this: function myFunction() { var files = Drive.Files.list({ maxResults: 10, spaces: 'photos' }); for (var i = 0; i < files.items.length; i++) { var f = files.items[i]; Logger.log(f.title); } } But if I run this function Google shows error "The granted scopes do not give access to all of the requested spaces. (line 2, file "Code")" Page with error Project properties contain scope "https://www

Is it possible to get a person public profile photo using email alone, just like on the old G+/Picasa API?

余生颓废 提交于 2020-01-11 20:22:52
问题 Background In the past, and in the near future, it's possible, given a person's email, to get the profile photo, as shown here: Retrieving a user's public google/gmail picture It is even possible without any login to the network of G+, as shown here. The problem As the docs say (here), this API will soon be deprecated and so it won't be possible to use it anymore: The Picasa Web Albums Data API will be turned off and all associated OAuth scopes will be disabled. Read the deprecation notice.

Is it possible to get a person public profile photo using email alone, just like on the old G+/Picasa API?

荒凉一梦 提交于 2020-01-11 20:22:37
问题 Background In the past, and in the near future, it's possible, given a person's email, to get the profile photo, as shown here: Retrieving a user's public google/gmail picture It is even possible without any login to the network of G+, as shown here. The problem As the docs say (here), this API will soon be deprecated and so it won't be possible to use it anymore: The Picasa Web Albums Data API will be turned off and all associated OAuth scopes will be disabled. Read the deprecation notice.

php picasa api show large image

两盒软妹~` 提交于 2020-01-09 10:54:13
问题 Ok so far I have been able to show thumbnails from user/album using the google feed. Everything displays ok, except when I want to show the thumbnail image larger. I can't seem to get the large image to show, not sure what to use here..here's my code: <?php $user = '100483307985144997386'; $albumid = '5092093264124561713'; $picasaURL = "http://picasaweb.google.com/$user/"; $albumfeedURL = "http://picasaweb.google.com/data/feed/api/user/$user/albumid/$albumid"; $sxml_album = simplexml_load

Zend_Gdata_Photos listing all albums and photos

谁都会走 提交于 2020-01-06 04:54:09
问题 I'm using the Zend_Gdata_Photos PHP client to access the Google Picasa API, trying to just do something very simple, list all the albums, and then list all the photos within each album. This is my code: $client = Zend_Gdata_ClientLogin::getHttpClient('*****', '*****', Zend_Gdata_Photos::AUTH_SERVICE_NAME); $gp = new Zend_Gdata_Photos($client); $userFeed = $gp->getUserFeed('default'); foreach ($userFeed as $albumEntry) { echo "<h2>{$albumEntry->title->text} ({$albumEntry->id->text})</h2>";

Google Picasa API XML deserialization

喜欢而已 提交于 2020-01-05 04:51:04
问题 I'm currently working with the Google Picasa API trying to list albums. The code to for OAuth 2.0 is written and working. I can get the XML list of albums without any issue. I have worked very little with XML in the past and I can't get it to deserialize. I tried to use the XSD.exe tool to generate a .xsd and then classes from that but I get an error right away: A column named 'id' already belongs to this DataTable. I can't figure out why because the second ID tag is nested in an other node.

List recreated album names that were previously deleted

烈酒焚心 提交于 2020-01-03 17:22:46
问题 Background I would like to list all the albums for my account that match a given name. Problem After deleting an album, then recreating an album with the exact same name, the code for $albumQuery->setAlbumName( ... ) to find the album name fails with a 404, even though the album was successfully created. The following code runs fine: // This is correct -- adding photographs to albums works. $client = $this->login( $user, $pass, $picasa ); $picasa = $this->newPhotographService( $client );

How do I fix Lightbox2 problems using $.noConflict()?

家住魔仙堡 提交于 2019-12-24 19:12:08
问题 I've imported images to my site. I want to open these images with lightbox2. I've installed the lightbox2-drupalmodule and that works on my frontpage (www.chirowijkoersel.be), but it doesn't work on the pages where I imported images. Lightbox does work with Opera. I've also noticed that the lightbox2-module adds a class to the images in Opera and on the frontpage with every other browser. Links: Images page Frontpage Edit: I've done some research, and I think the problem is caused by the

Can I embed my Picasa video to play on my website?

♀尐吖头ヾ 提交于 2019-12-24 17:17:54
问题 Is it possible to embed my Picasa videos (not the whole album) on my website so it plays directly on the website without redirecting back to Picasa (kinda like youtube embedded videos)? I've seen this done on another website but can't seem to get mine to work. Picasa keeps giving me the links and embedded code for a photo even tho the file I'm currently viewing is a video. Also, you can give suggestions for both google+ photos or picasaweb.google.com (they are the same thing), I don't mind.