2011-03-13 90 views

回答

7

到目前爲止,我已經能夠找到這個方法,如果有一個很好的或不同的方法,那麼請讓我硝酸鉀提到的連接W上。

//Get the album data 
dynamic albums = app.Get("me/albums"); 
foreach(dynamic albumInfo in albums.data) 
{ 
    //Get the Pictures inside the album this gives JASON objects list that has photo attributes 
    // described here http://developers.facebook.com/docs/reference/api/photo/ 
    dynamic albumsPhotos = app.Get(albumInfo.id +"/photos"); 
} 
+0

我試圖在他們發佈新圖像時得到某些頁面的圖像! – AminM 2014-11-10 14:37:23

+0

什麼是應用變量?我可以創建測試方法以獲取相冊中的照片嗎? *** [TestMethod] public void Get_photos_from_album()*** – Kiquenet 2014-11-13 18:41:49