Use of CreateAlbum, Upload Photo and AddTag

Aug 3, 2007 at 9:18 AM
Hi. I am new to the facebook api. I am building an App to: Upload photo (with some other bits in the image) from the friends list into a specific album, then add a tag using the AddTag method.

I have successfully Created an album and uploaded a photo into it. I have two problems:

1. The upload photo doesn't return the photo id of the photo uploaded.
2. To get around point 1, I have been trying to use GetPhoto supplying the albumid and no photos are returned. What is confusing me is that they are pending photos in the facebook web page (interestingly the 'aid' parameter on the URL is different to the album id returned from CreateAlbum method!).

I am sure that I am misunderstanding something about the way the process works and any help would be greatly appreciated!