photos

How to display my photo albums and photos that are in FB on my own website

跟風遠走 提交于 2019-11-26 16:11:03
问题 I would like to display my photo albums and photos that are in FB on my own website. However everything I have tried requires an access token that I seem to only get if I login to FB. I don't want visitors to my site to have to login to FB to see my photos. Is there a way to get this data and not require a login? I want to pull data from my own FB account. Or is there a different way to authenticate my access behind the scenes so visitors don't have to login, to see my photos? 回答1: Facebook

Get last image from Photos.app?

末鹿安然 提交于 2019-11-26 06:56:21
问题 I have seen other apps do it where you can import the last photo from the Photos app for quick use but as far as I know, I only know how to get A image and not the last (most recent one). Can anyone show me how to get the last image? 回答1: This code snippet will get the latest image from the camera roll (iOS 7 and below) : ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init]; // Enumerate just the photos and videos group by using ALAssetsGroupSavedPhotos. [library enumerateGroupsWithTypes