Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 531
user1716672 Avatar asked Aug 31 '13 15:08

user1716672


People also ask

How do I get the URL for a Facebook album?

Go to your Facebook Page and access the Photos tab. 2. Open the desired album from all the albums and copy the URL as shown below. That's it.

How do I find my gallery on Facebook?

Tap in the top right of Facebook, then tap your name. Scroll down and tap Photos. Tap the album you'd like to view.


1 Answers

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

like image 51
eightyfive Avatar answered Oct 15 '22 12:10

eightyfive