How to get pid after upload image

Feb 1, 2011 at 9:42 AM
Edited Feb 1, 2011 at 9:43 AM

hi, how to get pid after upload

my code :

 

 Api api = new Api(CurrentSession);
        Facebook.Schema.user user = api.Users.GetInfo();
        FileInfo ssss = new FileInfo(Server.MapPath(MergedCombinedImage.ImageUrl));
        api.Photos.Upload("", "test", ssss);

//api.Photos.AddTag(pid, user.uid, "testtset", 100, 100);

Help me please. Thank