To retrieve the album id or aid
of the required album of the page you may either retrieve list of albums of the page through Graph API endpoint /PageID/albums
and navigate to the required album or use the following FQL, which is more efficient than Graph API,
select aid from album where owner=PageID and name="MyAlbum"
This will give the required aid
and to create or upload the images in this specific album you can issue an HTTP POST
request to
/aid/photos
with publish_stream
permission and source
, image source, and message
parameters. If the create is successful you will get id
of the photo created.
Also refer to album documentation for more detail.