2012-11-23 96 views
0

我正在使用facebook android sdk訪問facebook相冊。我有包含所有相冊對象的json。想要獲得每張專輯的封面照片。 這是對象:如何使用facebook獲取每個facebook相冊的封面照片android sdk

"id": "3486732467234", 
"from": { 
    "name": "Persons Name", 
    "id": "Persons ID" 
}, 
"name": "Vacation", 
"location": "City", 
"link": "https://www.facebook.com/album.php?fbid=434235&id=324343&aid=2430", 
"cover_photo": "3489234432", 
"privacy": "everyone", 
"count": 60, 
"type": "normal", 
"created_time": "2007-06-03T23:01:16+0000", 
"updated_time": "2011-03-18T19:46:43+0000", 
"can_upload": true 

} 我怎樣才能獲得cover_photo圖像與此值 「cover_photo」: 「3489234432」? 我能得到一個字符串此值..

感謝

+0

通過在圖表上查找照片ID - https://graph.facebook.com/4346234652025?access_token=... – CBroe

回答

0

只是要求通過PHOTOID照片信息,使用此API:

https://graph.facebook.com/photoID 

不要忘記的access_token

相關問題