Facebook Graph API - get a photos album ID

后端 未结 9 2285
小蘑菇
小蘑菇 2020-12-31 09:32

I\'m writing an application that uploads a photo to facebook. I\'m not supplying an album ID so an album is created on behalf of my app.

My question is: how do I get

9条回答
  •  南笙
    南笙 (楼主)
    2020-12-31 09:54

    Long, clunky, but theoretically valid way: http://graph.facebook.com/userid/albumswill get you a list of all the albums the user lets you see, then you can search the album objects (api here) for created_times that match the time you created the album, which you can store when you create the album.

    This is almost certainly a horrible way to do it, but it should work.

提交回复
热议问题