Q:

How do i get facebook album id from url?

Im trying to publish to an album on a facebook page (I can post to the wall no problem - i have all the permissions). 
The Facebook graph API says the album id is the value of aid. But the url looks like: https://www.facebook.com/media/set/?set=a.531274833612778.1073741825.193687907371474&type=3
So what is the album id?

A:

For the sake of this question having an answer (I missed out @CBroe comment the first time I landed here).
The album ID is the first number right between a. and the next following . (dot).
In this case: 531274833612778

