How to get large photo URL in one API call?

I haven’t tried this with stream/feed photos, but the generally accepted way of doing this is: http://graph.facebook.com/{ID of object}/picture If you want the “large” version, you would do: http://graph.facebook.com/{ID of object}/picture?type=large I’m not 100% sure if this would work for an actual photo (instead of a user profile picture or page profile pic), but I … Read more

Get last image from Photos.app?

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:ALAssetsGroupSavedPhotos usingBlock:^(ALAssetsGroup *group, BOOL *stop) { // Within the group enumeration block, filter to enumerate just photos. [group setAssetsFilter:[ALAssetsFilter allPhotos]]; // … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)