I suspect that this will solve my problem. I wonder now only on the
construction of the album. In the case of the code below that of
AlbumAccessor take ALBUMID and AlbumAccessor of AlbumEntry. What amazes me
is that we set the title of the album, and even then then assign it the
previous ALBUMID.

PicasaService service = new PicasaService("audyt-ekosun-1");
        service.setUserCredentials(mail, haslo);


        AlbumEntry newEntry = new AlbumEntry();

        newEntry.Title.Text = "GIT11";
        AlbumAccessor ac = new AlbumAccessor(newEntry);
        ac.Access = "private";

        Uri feedUri = new Uri(PicasaQuery.CreatePicasaUri(user));

        PicasaEntry createdEntry = (PicasaEntry)service.Insert(feedUri,
newEntry);

        String albumid = new AlbumAccessor(createdEntry).Id;

        Uri postUri = new Uri(PicasaQuery.CreatePicasaUri(user, albumid));

2012/11/28 Michael Erickson <[email protected]>

> I'm probably misunderstanding your question. After you create a new album,
> "a", you have the album ID for that album, "12345".
>
> You can use that album ID as the location for your new photo upload.
>
> When you make this call:
>
> Uri postUri = new Uri(PicasaQuery.CreatePicasaUri(username, albumid));
>
> You would your use new album ID there:
>
> Uri postUri = new Uri(PicasaQuery.CreatePicasaUri(username, "12345"));
>
> Does that help?
>
> Thanks,
> -Mike
>
>
> On Wed, Nov 28, 2012 at 9:29 AM, Blady <[email protected]> wrote:
>
>> I know how to post new photo. I need add photo to existing album. For
>> example. I add photo to New album "a". Later I would like to add new photo
>> to this same album.
>> 28 lis 2012 17:49, "Michael Erickson" <[email protected]>
>> napisaƂ(a):
>>
>> Hello,
>>>
>>> Please see the following topic on the API site about posting new photos
>>> into an album in .NET.
>>>
>>>
>>> https://developers.google.com/picasa-web/docs/1.0/developers_guide_dotnet#PostPhotos
>>>
>>> Thank you,
>>> -Mike
>>>
>>>
>>> On Wed, Nov 28, 2012 at 8:31 AM, Blady <[email protected]> wrote:
>>>
>>>> I would add that I am writing in technology. NET.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Picasa Web Albums API" group.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msg/google-picasa-data-api/-/RnexDqTYsb0J.
>>>> To post to this group, send email to
>>>> [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-picasa-data-api?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Picasa Web Albums API" group.
>>> To post to this group, send email to
>>> [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-picasa-data-api?hl=en.
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Picasa Web Albums API" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-picasa-data-api?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Picasa Web Albums API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-picasa-data-api?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to