I\'m writing an application that uploads a photo to facebook. I\'m not supplying an album ID so an album is created on behalf of my app.
My question is: how do I get
String albumID = "https://www.facebook.com/photo.php?fbid=192570127478130&set=a.135556629846147.24342.100001754323389&type=1"; albumID = albumID.split("&set=a.")[1]; albumID = albumID.split("\\.")[0]; System.out.println(albumID);