开发者

Use graph.facebook.com to get URL's and Names of Photos

开发者 https://www.devze.com 2023-04-02 05:55 出处:网络
I need to get the URL\'s and names of the Photos contained in a Facebook Photo Album. I know this is possible through graph.facebook.com but I don\'t know where to find the ID of an Album.

I need to get the URL's and names of the Photos contained in a Facebook Photo Album. I know this is possible through graph.facebook.com but I don't know where to find the ID of an Album.

As an example you can use this Album: http://www.facebook.com/media/开发者_开发技巧set/?set=a.210725979538.130908.69116329538

Which one of the Numbers is the Album ID? And How do I get the Photo URL's with name??

Thank you in advance.


Just get the /albums relationship. For your example: http://developers.facebook.com/tools/explorer/?method=GET&path=thebeatles%2Falbums

Then use 10150213069439539/photos to get the photos of the first album (or any other album you want, just change the id based on what you got from /albums).

I suggest you to read the whole Graph API Core Concepts page and trying its examples.

And also read the album and photo documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消