picasa

Simple XML parsing with Google Picasa API and JQuery

隐身守侯 提交于 2019-12-11 17:01:45
问题 I'm starting to look into Google's Picasa API for photo data, which provides you with a big XML file with info about albums and photos. I'm doing some quick and dirty tests to parse the XML file (which is saved locally to my hard drive for now) with JQuery and pull out the album id's, which are stored as "gphoto:id" tags, and display them in a div: $(document).ready(function() { $.get( 'albums.xml', function(data) { $(data).find('entry').each(function() { var albumId = $(this).children(

Moving from Picasa to Google Photos

回眸只為那壹抹淺笑 提交于 2019-12-11 12:47:52
问题 I was using Picasa to store my pictures and I used the api to retrieve them in my application. Now Picasa is moving to Google Photos. Every where I looked, it seems that Google Photos is using the same api as Picasa. Am I correct in assuming that this means I don't have to do any changes to my application? Will my application still display the correct images? Additional quetsion: I created a new account on Google Photos and created some albums. Now I tried to connect to the Google Photos page

enable flickr and picasa in TinyMCE

只谈情不闲聊 提交于 2019-12-11 10:35:36
问题 My client needs flickr and picasa support in my TinyMCE editor. Has anybody got any advice on plugins which would allow him to do 'standard' embed functions? I know that wordpress supports this, and I'd like to enable it in my own non-wordpress TinyMCE editor in a similar way. Also, I'm using HTMLPurifier on the server to sanitise any input. I've enabled safe iframe embedding, so can support that, but other types of embed may need some extra work on HTMLPurifier. What are the standard ways of

Error while using PicasawebService with GAE

一曲冷凌霜 提交于 2019-12-11 07:40:07
问题 I am trying to connect to picassa webalbum from my GAE application.But I am not able to authenticate. PicasawebService myService = new PicasawebService("myclub"); myService.setUserCredentials("username@gmail.com", "my_password"); The error im getting is com.google.gdata.util.AuthenticationException: Error connecting with login URI at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:549) at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials

Uploading picture to picasa web

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 05:06:25
问题 I m trying to upload a new photo to picasa using the API. code not working I am getting the following error: Exception Details: System.Net.WebException: The remote server returned an error: (400) Bad Request. My Code: string imgPath = "C:\foo.png"; StreamReader reader = new StreamReader(imgPath); string imgBin = reader.ReadToEnd(); reader.Close(); string id=""//picasa ID string album = "";//album name string url = String.Format("http://www.picasaweb.google.com/data/feed/api/user/{0}/album/{1}

Accessing shared albums from Google Photos

余生长醉 提交于 2019-12-11 05:02:19
问题 I already read the API documentation of Picasa. I can see the normal albums, but not the shared ones. The documentation says: If you are logged in as the owner of the content, you can retrieve all of the photos you've uploaded and albums you've created in Google Photos and Picasa Web Albums via the Picasa Web Albums Data API. There are some exceptions. For example, Google Photos "Shared Albums" are not available via this API . There are no plans to add support for all Google Photos features

Insert photo ERROR: The remote server returned an error: (403) Forbidden

◇◆丶佛笑我妖孽 提交于 2019-12-11 01:59:47
问题 I need your help!. Im trying to insert a new photo into a Picasa Album using Oauth 2.0 and a simple HttpRequest process. The result is that I cant insert a new photo into my Picasa web album after following the instructions listed on: https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol#Auth I also have to say that I tried using the .Net library that they provide with the same results. The implementation that I'm using now is the following: public static string

Insert image to Picasa in Python Google App Engine Sdk through urlfetch

南楼画角 提交于 2019-12-10 12:11:03
问题 I try to insert an image from a Flex application to picasa web through Google App Engine Sdk. I want to do a simple urlfetch instead of the python client library. The code i following: def Insert(self, sessionToken, album_or_uri, title, filename_or_handle): result = urlfetch.fetch(url=album_or_uri, method=urlfetch.POST, follow_redirects=True, payload=StringIO(filename_or_handle), headers={'Authorization': 'AuthSub token="' + sessionToken + '"', 'Content-Length': str(len(filename_or_handle)),

Get all photos from Picasa by person

十年热恋 提交于 2019-12-10 11:03:41
问题 Is it possible to get all photos by a persons name through the Picasa Web Albums Data API? All examples I can find, shows how to get photos by an albumid. 回答1: You can request a list of the most recent photos, with a very high value for max-results. I'm not sure if you are using the .NET API Client Library, but if so, an example is here: http://code.google.com/apis/picasaweb/docs/1.0/developers_guide_dotnet.html#ListRecentPhotos Use query.NumberToRetrieve to set the value for max-results. If

Where is the Google web album service on API Console?

隐身守侯 提交于 2019-12-10 10:48:24
问题 I want to register Google Web Album API to upload image, but I don't see the Google Web Album Data in the Services of API Console. Any idea? 回答1: From the Picasa Web Albums Data API developer's guide section " Authorizing requests with OAuth 2.0 ":- Activate the Picasa Web Albums Data API in the Services pane of the Google APIs Console. (If it isn't listed in the Console, then skip this step.) The application then needs to request an access scope , described in a further document Using OAuth